Introduction to Python


Chang Chung worked as a Statistical Programmer and Data Archivist at the Office of Population Research at Princeton University. He earned his Ph.D. in Sociology from the University of South Carolina and M.S.E. in Systems Engineering from University of Pennsylvania.

1/14/2014 from 1:30 PM to 4:30 PM ~ Bowl 001 Robertson Hall (Lower Level)
Python is a 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. Python has a large number of available and well-written modules for everything from abstract syntax trees to ZIP file manipulation. Its ecosystem features an extensive set of tools including a JIT compiler and fancy IDE's. In this half-day workshop, attendees are introduced to basic Python syntax and to its ecosystem.
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. In-depth lab materials will be provided for those wanting additional hands-on practice after the workshop is over.
Due to location change, it is now recommended to bring your own your laptop computer, which has Python 2.7 installed. Python comes pre-installed in Mac OS X and Linux. A nice instruction for installing Python on Windows is at The Hitchhiker's Guide to Python site.
Slides 1 (PDF)
Slides 2 (PDF)
Slides 3 (PDF)
Syllabus (PDF)