Difference between revisions of "Python Installation and Basic Programming"

From AstroBaki
Jump to navigationJump to search
Line 22: Line 22:
  
 
===Links===
 
===Links===
 +
* Peter Williams [https://github.com/carinacheng/CHAMP2017/blob/master/Lesson4_PythonProgramming/GeneralPurpose/handout.pdf A Python Bungee Jump]
 
* Josh Bloom's [http://sites.google.com/site/pythonbootcamp Python Boot Camp] offers a wealth of resources for getting started with Python.  In particular, see:
 
* Josh Bloom's [http://sites.google.com/site/pythonbootcamp Python Boot Camp] offers a wealth of resources for getting started with Python.  In particular, see:
 
** [http://sites.google.com/site/pythonbootcamp/preparation/software Instructions] for installing all of the packages mentioned above.
 
** [http://sites.google.com/site/pythonbootcamp/preparation/software Instructions] for installing all of the packages mentioned above.

Revision as of 16:55, 4 January 2018

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 2.X (note that 3.X exists and is maturing, but a lot of scientific code and packages are not yet ported)
  • 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,