Skip to main content

Weekly Schedule

Week 1

TopicsReading/ReferenceTasks/Labs
Course OverviewThink Python: Chapter 1Lab 1: git, github.com, and Python
- Introduction- What is a program?
- Why Python?- Input, process (sequence, looping, repetition), output
- Natural language & formal language- complier, interpreter
git and github.com- Debugging
Python components:Automate with Python: Chapter 1: Python Basics
- keywords
- symbols
- modules
- objects
Python Shell
- builtin modules
- builtin functions: help(), dir(), type()
- keyword: import

Week 2

TopicsReading/ReferenceTasks/Labs
Python Basics:Think Python: Chapter 2Lab 2: Understanding Python Code
- Objects- Variable, expressions and statements
- Methods and properties- Script mode and interactive mode
- Operators- Python math operators and order of operations
- expressions- String operation '+' and '*'
- statementsAutomate with Python: Chapter 2: Flow Control

Week 3

TopicsReading/ReferenceTasks/Labs
Reusing Python Code:Think Python: Chapter 3 FunctionsLab 3: Reusing Python Code
Functions- Function calls
- keyword: def- Adding new functions
- function parameters- Definitions and uses
- return value- Flow of execution
- keyword: None- Parameters and arguments
- Variables and parameters
- Fruitful functions and void functions
Automate with Python: Chapter 3 & 4: Functions, Lists

Week 4

TopicsReading/ReferenceTasks/Labs
Basic Data Structures and String Manipulation:Think Python: Chapter 5 Conditionals and recursionLab 4: Basic Data Structure & String Manipulation
- Integers- Boolean expression
- Strings- Logical operators
- Tuples- Conditional execution
- Lists- Alternative execution
- Dictionaries- Chained conditionals
- Sets- Nested conditionals
- Recursion
- Infinite recursion
- Keyboard Input
Automate with Python: Chapter 5 & 6: Dictionaries and structuring data, Manipulating Strings

Week 5

TopicsReading/ReferenceTasks/Labs
Files, Exceptions:Think Python: Chapter 14 - FilesLab 5: Files & Error Handling
- File Handling- Reading and writing
- Error Handling- Format operator
- Builtin error types- Filenames and paths
- Catching exception
- Databases
- Picking
- Pipes
- Writing modules
Automate with Python: Chapter 9 & 10: Reading and Writing Files, Organizing Files

Week 6

TopicsReading/ReferenceTasks/Labs
Review and Catch-up

Week 7

TopicsReading/ReferenceTasks/Labs
Mid-Term TestAssignment 1
- Topics: Lab 1 to Lab 5 and All topics covered from week 1 to week 5

Study Week

TopicsReading/ReferenceTasks/Labs

Week 8

TopicsReading/ReferenceTasks/Labs
Classes:Think Python: Chapter 15 - Classes and objectsLab 6: Writing Python Classes
- Components of a class- Programmer-defined types
- Classes and objects- Attributes
- Instances and return values
- Objects are mutable
- Copying
Automate with Python: Chapter 16 - Classes and functions
- Pure functions
- Modifiers
- Prototyping versus planning

Week 9

TopicsReading/ReferenceTasks/Labs
Classes:Think Python: Chapter 17 - Classes and methodsLab 7: Classes, Objects & scope
- Designing classes- The __init__ method
- Understanding scope- The __str__ method
- The __repr__ method
- Operator overloading
- Type-based dispatch
- Polymorphism

Week 10

TopicsReading/ReferenceTasks/Labs
Configuration management:Lab 8: Configuration management
- Ansible

Week 11

TopicsReading/ReferenceTasks/Labs
Complete Assignment 2Assignment 2

Week 12

TopicsReading/ReferenceTasks/Labs
Final Assessment Review

Week 13

TopicsReading/ReferenceTasks/Labs
Final Assessment