Python tutorials

There are a lot of resources available on the net to get started with Python. I could write my own tutorial on Python basics, but why reinvent the wheel?

Below is a list of free online tutorials to help you get started. You don't need to follow all of them, just pick one or two that are most to your liking.

  • This is an interactive online tutorial to learn Python basics. You don't even need to install anything, it is all in the cloud! Going through the 'basics' section is enough to warm you up for the Trading With Python course.
  • codecademy - a very cool interactive tutorial.
  • matplotlib tutorial - Create production-quality plots
  • After hours programming  - Quick, basic, simple, overview. Ideal to get an idea of the language potential. Note that this is a Python 3.2 tutorial, which uses newer syntax.
  • Python docs - The ultimate reference but beware of information overflow!  Huge, deep, never ending.
  • Scientific python lectures - quite advanced use of Ipython and scientific libraries.


  • The book Python for Data Analysis is highly recommended as course material. While not trading-oriented, it has excellent coverage of scientific python. It also has an overview of the Python language in the Appendix.