1: Introduction to Python
- Overview of Python programming language.
- Installing Python and setting up the development environment.
- Running Python scripts using command line and IDEs.
- Basic syntax, variables, and data types in Python.
2: Control Flow
- Introduction to conditional statements (if, elif, else).
- Looping constructs: for loops and while loops.
- Using break and continue statements.
- Practical exercises to reinforce understanding.
3: Functions and Modules
- Defining and calling functions.
- Parameters and return values.
- Scope of variables.
- Introduction to modules and importing them.
- Organizing code into modules for better readability and reusability.
4: Data Structures Part I – Lists and Tuples
- Understanding lists and their operations (slicing, appending, extending, etc.).
- Working with tuples and their immutability.
- List comprehensions for concise code.
- Practical exercises to work with lists and tuples.
5: Data Structures Part II – Dictionaries and Sets
- Introduction to dictionaries and their key-value pairs.
- Common dictionary operations (adding, accessing, deleting items).
- Sets and their unique properties (no duplicate elements, mathematical operations).
- Hands-on exercises to manipulate dictionaries and sets.
6: File Handling
- Reading from and writing to text files.
- Using the
open()
function with different modes. - Error handling with try-except blocks.
- Working with file objects and methods.
- Practical exercises to work with file I/O.
7: Object-Oriented Programming (OOP) Basics
- Introduction to OOP concepts: classes and objects.
- Defining attributes and methods in a class.
- Creating instances of a class.
- Encapsulation, inheritance, and polymorphism.
- Hands-on practice with simple class definitions.
8: Advanced OOP Concepts
- Understanding inheritance and method overriding.
- Working with multiple inheritance.
- Using special methods (dunder/magic methods).
- Class and static methods.
- Practical exercises to implement advanced OOP concepts.
9: Exception Handling and Debugging
- Handling exceptions using try-except blocks.
- Raising custom exceptions.
- Debugging techniques and tools (print statements, debugging in IDEs).
- Using logging module for effective debugging.
- Debugging practical exercises.
10: Introduction to Python Libraries and Conclusion
- Installing and importing libraries.
- Basic usage examples of selected libraries.
- Recap of the course content.
- Next steps and resources for further learning.
Each day can include a mix of theory sessions, hands-on coding exercises, quizzes, and practical examples to reinforce learning.
Additionally, encourage students to work on mini-projects or assignments to apply their newly acquired Python skills.
Target audiences
- 8-16 years
Requirements
- Basic computer skills, access to a computer/laptop with internet connection
Instructor
