Python is a general-purpose programming language that is popular and easy to use. For new programmers, it is a great choice as a first programming language. In fact, more and more university CS departments are centering their introductory courses around Python.
For a summary of reasons to move from Matlab to Python, please read this post.
This page on Udacity provides some more great reasons to use Python, along with resources for getting started.
If you are new to Python, please follow The Python Tutorial.
For the purposes of this workshop, be sure you understand the following sections:
int
, float
if
statementsfor
statementsrange
While the other sections are useful, you can learn them along the way.
To follow the material on this site, you will need to install additional Python packages.
Follow the instructions on the GitHub repository README
.
If you’re totally new, the simplest solution is to download and install Anaconda for Python 3.x.
You will also probably want to install pip. pip is the recommended tool for installing most other Python packages.
[2018 March 12] These notebooks reflect the following package versions: