Course Outline
Module I: Introduction to the Python Language and Basics of Syntax
1. What is Python and examples of its applications
2. Programming tools: PyCharm, JupyterLab, terminal
3. Virtual environments—dependency isolation
4. Variables and value assignment
5. Basic data types—numbers, texts, boolean values
6. Comments and code readability
7. Most popular built-in functions
8. Mathematical operations
9. Basic string operations—methods, formatting
---------------------------------------------------------------------
Module II: Data Structures—Storing and Organizing Information
1. Lists—creation and modification
2. Tuples—immutable structures
3. Dictionaries—key-value data
5. Operations on collections
6. Indexing data structures
7. Nested structures
8. Mutability
9. Copying objects—shallow copy, deep copy
---------------------------------------------------------------------
Module III: Conditional Statements and Control Flow
1. Boolean values and logical operators
2. `if` statement—basics
3. `if-else` construction
4. Complex conditions in `if-elif-else`
---------------------------------------------------------------------
Module IV: Loops and Iterations
1. `range` function—sequence generation
2. `for` and `while` loops
4. `break` and `continue`—loop control
5. Nested loops
6. List comprehension
---------------------------------------------------------------------
Module V: Functions—Code Organization and Reusability
1. Defining functions—syntax and conventions
2. Variable scope—local vs global
3. Returning values—`return`
4. Function parameters
5. Positional and named arguments
---------------------------------------------------------------------
Module VI: Error Handling and Code Quality
1. PEP 8—rules for writing readable code
2. Traceback—how to read error messages
3. Debugger—step-by-step execution control
4. Exception handling—`try`, `except`
---------------------------------------------------------------------
Module VII: Modules and Project Organization
1. Overview of the standard library
2. Importing modules
3. Installing external packages
4. Project structure—dividing code into files and directories
---------------------------------------------------------------------
Module VIII: Basics of Object-Oriented Programming
1. What is a class and an object
2. Methods and attributes
3. Inheritance—extending functionality
4. Encapsulation—public, private, and protected methods/attributes
5. `staticmethod`, `property`
6. Object representation—`__str__`, `__repr__`
---------------------------------------------------------------------
Module IX: Working with Files
1. File formats—text, JSON
3. Reading and writing data
4. Using the `with` statement (context manager)