Python programming
Course description
Python is a language with a simple syntax, and a powerful set of libraries. It is an interpreted language, with a rich programming environment, including a robust debugger and profiler. While it is easy for beginners to learn, it is widely used in many scientific areas for data exploration. This course is an introduction to the Python programming language for students without prior programming experience. We cover data types, control flow, object-oriented programming, and graphical user interface-driven applications. The examples and problems used in this course are drawn from diverse areas such as text processing, simple graphics creation and image manipulation, HTML and web programming, and genomics.
Course outline
Lesson 1: Introduction
Lesson 2: gitHub, Functions, Booleans and Modules
Lesson 3: Sequences, Iteration and String Formatting
Lesson 4: Dictionaries, Sets, and Files
Lesson 5: Exceptions, Testing, Comprehensions
Lesson 6: Advanced Argument Passing, Lambda -- functions as objects
Lesson 7: Object Oriented Programming
Lesson 8: More OO -- Properties, Special methods
Lesson 9: Iterators, Iterables, and Generators
Lesson 10: Decorators, Context Managers, Regular Expressions, and Wrap Up