Introduction to Python

  • May 7, 2015, 9:30 am4:00 pm
  • May 8, 2015, 9:30 am4:00 pm
  • May 11, 2015, 9:30 am4:00 pm
Event Description

Python is a very popular, general-purpose, multi-paradigm, open-source, scripting language. It is designed to emphasize code readability and has a clean syntax with high level data types. It is well-suited for interactive work and quick prototyping, yet it is powerful enough for writing large applications. In this full-day workshop, attendees are introduced to basic Python syntax and to its ecosystem. See the workshop syllabus for objectives.


This workshop is for those who have some experience in using at least one scripting language (such as Stata, R, MATLAB, Perl, Ruby, ...). It is assumed that participants can use a text editor and are able to execute a script file from a shell command line.


Lecture, quiz, and demonstration. Attendees are welcome to follow along with the demonstrations, and to try to answer quiz items.


Python can be installed and used in different ways. In this workshop, I will use IPython Notebook environment for demonstration. All the lab PC's will have IPython Notebook Installed as well.

If you rather use other environments, then you are welcome to bring your own laptop computer. Free Anaconda distribution is available here. Other environments (for example, command line Python and emacs editor) are OK, too.

Since Python 3 is not backward compatible and not all the modules are upgraded into Python 3, we will use Python 2 (2.7 as of writing this).


Presentation Part 0 (PDF) 
Presentation Part 1 (PDF) 
Presentation Part 2 (PDF) 
Presentation Part 3 (PDF)