Python Lesson Material

Most of this material originated with a grassroots group at the University of Wisconsin - Madison called The Hacker Within and has been modified by Software Carpentry instructors over multiple bootcamps.

iPython Notebook

We will be using iPython notebook for these lessons.

To open iPython notebook, open a new terminal (gitbash for windows) invoke:


$ ipython notebook


  • This will open a new page/tab in your web browser
  • Leave your terminal window open while using iPython
To open first lesson in your browser, click the "click here" link in iPython Notebook

Navigate to the lesson:

~/2014-07-23-jfrc/lessons/thw-python/vars-types/variables.ipynb)

Note: We assume you installed the course material in your home directory (~/ ), otherwise, navigate to the location of your 2014-07-23-jfrc folder.

Variables

Lesson:

~/2014-07-23-jfrc/lessons/thw-python/vars-types/variables.ipynb

Excercises:

2014-07-23-jfrc/lessons/thw-python/vars-types/excercises.ipynb

Data structures

Lesson:

~/2014-07-23-jfrc/lessons/thw-python/data-structures/data-structures.ipynb

Excercises:

~/2014-07-23-jfrc/lessons/thw-python/data-structures/excercises.ipynb

Flow control

~/2014-07-23-jfrc/lessons/thw-python/python-flowcontrol/python_flow_control.ipynb

Functons and modules

~/2014-07-23-jfrc/lessons/thw-python/python-functions/python_functions_and_modules.ipynb