Difference between revisions of "Python"

From Got Opinion Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
== My Python notes ==
My Python Notes
 
[[My Python Notes]]


== Python programming notes ==
== Python programming notes ==
Line 9: Line 7:
== Python resources ==
== Python resources ==


=== Libraries ===
==== NumPy ====
[http://www.numpy.org/ NumPy] is the fundamental package for scientific computing with Python. It contains among other things:
* a powerful N-dimensional array object
* sophisticated (broadcasting) functions
* tools for integrating C/C++ and Fortran code
* useful linear algebra, Fourier transform, and random number capabilities
Besides its obvious scientific uses, NumPy can also be used as an efficient multi-dimensional container of generic data. Arbitrary data-types can be defined. This allows NumPy to seamlessly and speedily integrate with a wide variety of databases.
=== Books ===
=== Books ===


Line 26: Line 35:


[http://bokeh.pydata.org/en/latest/index.html Bokeh] is a Python interactive visualization library that targets modern web browsers for presentation. Its goal is to provide elegant, concise construction of novel graphics in the style of D3.js, but also deliver this capability with high-performance interactivity over very large or streaming datasets. Bokeh can help anyone who would like to quickly and easily create interactive plots, dashboards, and data applications.
[http://bokeh.pydata.org/en/latest/index.html Bokeh] is a Python interactive visualization library that targets modern web browsers for presentation. Its goal is to provide elegant, concise construction of novel graphics in the style of D3.js, but also deliver this capability with high-performance interactivity over very large or streaming datasets. Bokeh can help anyone who would like to quickly and easily create interactive plots, dashboards, and data applications.
[http://matplotlib.org/ matplotlib] is a python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms. matplotlib can be used in python scripts, the python and ipython shell, web application servers, and six graphical user interface toolkits.


== Python on Linux ==
== Python on Linux ==

Revision as of 14:04, 11 February 2016

My Python Notes

Python programming notes

Python programming

Python resources

Libraries

NumPy

NumPy is the fundamental package for scientific computing with Python. It contains among other things:

  • a powerful N-dimensional array object
  • sophisticated (broadcasting) functions
  • tools for integrating C/C++ and Fortran code
  • useful linear algebra, Fourier transform, and random number capabilities

Besides its obvious scientific uses, NumPy can also be used as an efficient multi-dimensional container of generic data. Arbitrary data-types can be defined. This allows NumPy to seamlessly and speedily integrate with a wide variety of databases.

Books

Dive Into Python

Text Processing in Python

Python Frameworks

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Dreamhost Django on Dreamhost

Django book

Data Visualization Libraries

Bokeh is a Python interactive visualization library that targets modern web browsers for presentation. Its goal is to provide elegant, concise construction of novel graphics in the style of D3.js, but also deliver this capability with high-performance interactivity over very large or streaming datasets. Bokeh can help anyone who would like to quickly and easily create interactive plots, dashboards, and data applications.

matplotlib is a python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms. matplotlib can be used in python scripts, the python and ipython shell, web application servers, and six graphical user interface toolkits.


Python on Linux

Linux Mint 14 Nadia with Cinnamon

The basic install of Mint 14 with Cinnamon comes with Python 3.2.3 and 2.7.3.

Invoking Python 3.2 Interpreter

$ python3.2
Python 3.2.3 (default, Oct 19 2012, 19:53:16) 
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>

Note: I don't use Python 2.x versions