Difference between revisions of "Python Installation and Basic Programming"

From AstroBaki
Jump to navigationJump to search
Line 2: Line 2:
  
 
For a scientific programmer in Python, the absolute basics you need to have installed are:
 
For a scientific programmer in Python, the absolute basics you need to have installed are:
* [http://www.python.org Python] 2.X (note that 3.X exists and is maturing, but a lot of scientific code and packages are not yet ported)
+
* [http://www.python.org Python] 3.X (note that 2.X still exists, but support for it is being dropped by various scientific packages)
 
* [http://numpy.scipy.org/ NumPy]: a package for fast numerical array processing
 
* [http://numpy.scipy.org/ NumPy]: a package for fast numerical array processing
 
* [http://matplotlib.sourceforge.net/ Matplotlib/Pylab]: a package for generating publication-quality plots
 
* [http://matplotlib.sourceforge.net/ Matplotlib/Pylab]: a package for generating publication-quality plots

Revision as of 15:16, 1 February 2019

Here we will assemble resources for learning Python, and for getting it and other programming-related software installed on your computer.

For a scientific programmer in Python, the absolute basics you need to have installed are:

  • Python 3.X (note that 2.X still exists, but support for it is being dropped by various scientific packages)
  • NumPy: a package for fast numerical array processing
  • Matplotlib/Pylab: a package for generating publication-quality plots
  • GIT: a revision-control program for keeping tabs on the changes you make to your code. Not just for python.

To get scipy, numpy, python, and a lot of other useful python packages altogether, you may prefer to download the academic version of Canopy from Enthought. All you need to do is make an account with your .edu email address.

Python

Topical Videos

Links

GIT

Please see the Revision Control page,