Day 1 : introducing Python¶
2 / 20 / 2015
Prior¶
- Make sure your Python environment installed on day 0 still works - see Software to install for the class for how to check your installation. Please ask for help if you have any doubt.
- Finish the first Python Module on Codecademy: http://www.codecademy.com/courses/introduction-to-python-6WeG3/0/1
Day¶
- variables, math
- flow control (conditional statements, loops)
- basic data structures (lists and dictionaries)
- importing modules
- reading and parsing text files (basic)
The exercises¶
If you haven’t done this already, see the instructions in Day 0 : introduction: what is an image? on how to get the repository for the exercises.
cd pna/pna2015
git pull
cd day1
ipython notebook
There is a web page listing of the exercise files at https://github.com/practical-neuroimaging/pna2015/tree/master/day1