What the Python Beginner course covers
⊕ Expand full topic list
Unit 1: Getting Started
- Obtaining and Installing Python
- Starting Python Command Line REPL
- Indenting and Structuring Code
- Understanding the Culture of Python
- Importing Standard Library Modules
- Getting Help
- Understanding Scalar data types: Integers, Floats, None and Bool
- Using Relational Operators
- Introducing Control Flow: if-statements and while-loops
⊕ See more
Unit 2: Strings and Collections
- Understanding Strings
- Understanding Bytes
- Introducing Lists
- Introducing Dictionaries
- Iterating over Series of Items with For-Loops
⊕ See more
unit 3: Modularity
- Organizing Code in a .py file
- Defining Functions
- Organizing our Module into Functions
- Investigating the Python Execution Model
- Setting up a Main Function with Command Line Argument
- Including Docstrings in Code
- Adding Comments to Code
⊕ See more
unit 4: Built-in Types and the Object Model
- Understanding Python Object References
- Argument Passing Semantics – Pass by Object-Reference
- Using Python’s Return Semantics
- Investigating Function Arguments in Detail
- Understanding the Python Type System
- Investigating Variable Declaration and Scoping
⊕ See more
Unit 5: Exploring Built in Collection Types
- Understanding Tuples
- Using the Tuple Constructor
- Investigating the use of Strings
- Using Range
- Using Lists
- Using Dictionaries
- Using Sets
- Understanding Collection Protocols
⊕ See more
Unit 6: Exceptions
- Introducing Exceptions and Control Flow
- Handling Exceptions
- Handling Multiple Exceptions
- Investigating Programmer Errors
- Defining Empty Blocks Using the Pass Statement
- Understanding Exception Objects
- Avoiding Return Codes
- Re-raising Exceptions
- Understanding the Importance of Exceptions
- Validating Data
- Understanding Exceptions, APIs, and Protocols
- Choosing not to Guard against TypeError
- Using Pythonic Style – Deciding Between EAFP and LBYL
- Clean-up Actions
- Handling Platform-Specific Code
⊕ See more
Unit 7: Comprehensions, Iterables and Generators
- Introducing Comprehensions
- Utilising Iteration protocols
- Creating Generator functions
- Creating Generator expressions
- Utilising the “Batteries included” iteration tools
- Pulling it all together
⊕ See more
Unit 8: Defining new Types with Classes
- Defining classes
- Defining Instance methods
- Defining Instance initializers
- Adding Validation and invariants
- Adding a second class
- Understanding Collaborating classes
- Naming methods for implementation details
- Deciding between a function and an object
- Understanding Polymorphism and duck-typing
- Utilising Inheritance and implementation sharing
⊕ See more
Unit 9: Files and Resource Management
- Understanding files in Python
- Introducing context managers
- Using binary files
- Developing code for other file-like objects
- Using other resources
⊕ See more
Unit 10: Unit Testing with the Python Standard Library
- Creating test cases
- Adding fixtures
- Defining assertions
- Developing Unit testing through an example.
- Using fixtures to create temporary files
- Using the new fixtures
- Using assertions to test behavior
- Testing for exceptions
- Testing for file existence
⊕ See more
Unit 11: Debugging with PDB
- Introducing the debugging commands
- Using the command to debug code.
⊕ See more