Learn the skills to build a foundational knowledge of this popular programming language.
Overview
Syllabus
Introduction
- Getting started with Python
- Who this course is for
- Resources for this course
- How computers think
- Installing Python, pip, and Jupyter Notebook
- The Zen of Python
- Writing a program
- Challenge: Now in termcolor
- Solution: Now in termcolor
- Variables and types
- Data structures
- Operators
- Control flow
- Functions
- Classes and objects
- Challenge: It's hip to be square
- Solution: It's hip to be square
- Ints and floats
- Other types of numbers
- Booleans
- Strings
- Bytes
- Challenge: Sense of direction
- Solution: Sense of direction
- Lists
- Tuples and sets
- Dictionaries
- List comprehensions
- Dictionary comprehensions
- Challenge: Structuring scribes
- Solution: Structuring scribes
- If and else
- While
- For
- Challenge: Hitting a wall
- Solution: Hitting a wall
- The anatomy of a function
- Variables and scope
- Functions as variables
- Challenge: Plotting the course
- Solution: Plotting the course
- The anatomy of a class
- Static and instance methods
- Inheritance
- Challenge: Extending the scribe
- Solution: Extending the scribe
- Errors and exceptions
- Handling exceptions
- Custom exceptions
- Challenge: The trouble with scribbles
- Solution: The trouble with scribbles
- Intro to threads and processes
- Multithreading
- Multiprocessing
- Challenge: When I move, you move
- Solution: When I move, you move
- Opening, reading, and writing
- CSV
- JSON
- Challenge: Single file
- Solution: Single file
- Command-line arguments
- Creating modules and packages
- Challenge: Handling arguments
- Solution: Handling arguments
- Wrap up
Taught by
Ryan Mitchell