The session covers some of the basics of the Python programming languages. Students are expected to have some knowledge about procedural and object-oriented programming languages.
Here are some references to freshen up on concepts:
-
Self-paced online tutorials
- CodeAcademy (13h estimated time) https://www.codecademy.com/tracks/python
- Brief overview with live examples https://www.learnpython.org/en/Welcome
-
Books
- Python for Everybody (HTML, PDF, Kindle) https://www.py4e.com/book
- Python Practice Book http://anandology.com/python-practice-book/index.html
- Learning Python (free, requires registration to download) https://www.packtpub.com/packt/free-ebook/learning-python
While there are a number of major differences between the versions the majority of libraries and tools that we are concerned with operate on both. Most changes in Python 3 concern the internal workings and performance. Though, there are some syntax changes, and some operations behave differently. This pages offers a comprehensive look at the key changes: http://sebastianraschka.com/Articles/2014_python_2_3_key_diff.html
We provide both versions on our cluster: the binaries python
and python2
for Python 2.7, and python3
for version 3.4.
All assignments are expected to run on Python 2.7
Follow the instructions in the HW02/README.md file.