Introduction to Python



 Table of contents


June 6th
9:30am - 12:30pm


Python is a popular language for scientific computing, and great for general-purpose programming as well. This introductory course will walk you through the basics of programming in Python. We will cover the main language features – variables and data types, conditionals, lists, for/while loops, list comprehensions, dictionaries, writing functions, and working with external libraries.

Instructors: Alex Razoumov

Prerequisites: This course assumes some basic knowledge of Python (for loops, if statements, writing functions, lists, dictionaries).

Software: We will be using Python on our training cluster, so no need to install it on your computer. However, in the long run you would probably benefit from Python on your computer, so you might want to look into this.


Interactive session

Setup and running Jupyter notebooks
Variables and data types
Built-in functions and help
Conditionals
Lists
Loops
Dictionaries
Writing functions
Variable scope and other topics
Libraries, virtual environments and packaging