Programming with Python
The best way to learn how to program is to do something useful, so this introduction to Python is built around a common scientific task: data analysis. Our real goal isn’t to teach you Python, but to teach you the basic concepts that all programming depends on. We use Python in our lessons because:
- we have to use something for examples;
- it’s well-documented;
- it has a large (and growing) user base among scientists in academia and industry; and
- it has a large library of packages available for performing diverse tasks.
But the two most important things are to use whatever language your colleagues are using, so that you can share your work with them easily, and to use that language well.
Prerequisites
To begin tackling this lesson, you will need to:
- Understand the concepts of files and directories, and the concept of a “working directory”.
- Know how to start up iPython
- Know how to create, edit and save text files.
Schedule
The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.
