Skip to content

Latest commit

 

History

History
179 lines (133 loc) · 5.92 KB

File metadata and controls

179 lines (133 loc) · 5.92 KB

🐍 Python Tutorial Library

Русская версия

A comprehensive collection of Python learning materials - from basics to advanced concepts. All files are numbered in logical learning order.

📚 About the Project

This is a comprehensive library for learning Python that covers all key topics of the programming language. Each tutorial file contains:

  • Detailed comments and explanations in Russian
  • Practical examples with output results
  • Best practices and recommendations
  • Common mistakes and how to avoid them

🎯 Who is this project for?

  • Beginners - learning Python from scratch
  • Intermediate - deepening knowledge and studying advanced concepts
  • Experienced developers - reference for syntax and best practices
  • Teachers - ready-made materials for teaching

📖 Learning Program (34 Lessons)

🟢 Level 1: Basics (Lessons 1-4)

  1. 01_variables_tutorial.py - Variables and data types
  2. 02_strings_tutorial.py - Working with strings
  3. 03_numbers_tutorial.py - Numbers and mathematical operations
  4. 04_boolean_tutorial.py - Boolean values and comparison operators

🟢 Level 2: Data Structures (Lessons 5-8)

  1. 05_lists_tutorial.py - Lists and operations
  2. 06_tuples_tutorial.py - Tuples
  3. 07_dictionaries_tutorial.py - Dictionaries
  4. 08_sets_tutorial.py - Sets

🟡 Level 3: Control Flow (Lessons 9-11)

  1. 09_if_else_tutorial.py - Conditional statements (if/else/elif)
  2. 10_loops_tutorial.py - Loops (for, while)
  3. 11_comprehensions_tutorial.py - List/dict/set comprehensions

🟡 Level 4: Functions (Lessons 12-19)

  1. 12_functions_tutorial.py - Function basics
  2. 13_args_kwargs_tutorial.py - *args and **kwargs
  3. 14_lambda_tutorial.py - Lambda functions
  4. 15_map_tutorial.py - Map function
  5. 16_filter_tutorial.py - Filter function
  6. 17_reduce_tutorial.py - Reduce function
  7. 18_zip_enumerate_tutorial.py - Zip and enumerate functions
  8. 19_closure_tutorial.py - Closures

🟡 Level 5: Error Handling (Lessons 20-21)

  1. 20_exceptions_tutorial.py - Exceptions and error handling
  2. 21_as_keyword_tutorial.py - The 'as' keyword

🟠 Level 6: OOP (Lessons 22-25)

  1. 22_classes_tutorial.py - Classes, methods, properties
  2. 23_inheritance_tutorial.py - Inheritance and polymorphism
  3. 24_magic_methods_tutorial.py - Magic methods
  4. 25_dataclasses_tutorial.py - Dataclasses

🔴 Level 7: Advanced Topics (Lessons 26-29)

  1. 26_decorators_tutorial.py - Decorators
  2. 27_generators_tutorial.py - Generators
  3. 28_iterators_tutorial.py - Iterators
  4. 29_context_managers_tutorial.py - Context managers

🔴 Level 8: File Operations and Tools (Lessons 30-34)

  1. 30_file_operations_tutorial.py - File operations
  2. 31_modules_tutorial.py - Modules and packages
  3. 32_json_tutorial.py - Working with JSON
  4. 33_regex_tutorial.py - Regular expressions
  5. 34_type_hints_tutorial.py - Type annotations

🚀 How to Use

Option 1: Sequential Learning (Recommended)

# Clone the repository
git clone https://github.com/your-username/python-tutorial-library.git
cd python-tutorial-library/Russian

# Start with the first lesson
python 01_variables_tutorial.py

# Study in order, moving to the next lesson
python 02_strings_tutorial.py
# and so on...

Option 2: Topic-Based Learning

If you already know the basics, you can jump to specific topics:

  • Basics (Lessons 1-4)
  • Data Structures (Lessons 5-8)
  • Control Flow (Lessons 9-11)
  • Functions (Lessons 12-19)
  • OOP (Lessons 22-25)
  • Advanced (Lessons 26-29)

💡 Features

  • Logical sequence - files numbered for convenience
  • Fully in Russian - all comments and explanations
  • Practical examples - ready-to-run code
  • Modern Python 3.12+ - current best practices
  • From simple to complex - gradual increase in difficulty
  • Approach comparisons - different ways to solve problems

🛠 Requirements

  • Python 3.8 or higher
  • Any text editor or IDE (PyCharm, VS Code recommended)

📝 Project Structure

PythonProject/
├── Russian/               # All tutorial files (numbered)
│   ├── 01_variables_tutorial.py
│   ├── 02_strings_tutorial.py
│   ├── ...
│   └── 34_type_hints_tutorial.py
├── README.md              # Russian version
├── README_EN.md           # This file
├── LICENSE                # MIT License
└── .gitignore             # Git ignore rules

📊 Learning Progress

Track your completed lessons:

  • Lessons 1-4: Python Basics
  • Lessons 5-8: Data Structures
  • Lessons 9-11: Control Flow
  • Lessons 12-19: Functions and Functional Programming
  • Lessons 20-21: Error Handling
  • Lessons 22-25: OOP
  • Lessons 26-29: Advanced Topics
  • Lessons 30-34: Files and Tools

🎓 Learning Recommendations

  1. Sequence - study lessons in order (1 → 34)
  2. Practice - run each example and experiment with the code
  3. Understanding - don't move to the next lesson until you understand the current one
  4. Projects - create small projects after each section for reinforcement

🤝 Contributing

All improvements are welcome! If you want to add new tutorials or fix errors:

  1. Fork the project
  2. Create a branch for your changes (git checkout -b feature/new-tutorial)
  3. Commit your changes (git commit -m 'Add new tutorial')
  4. Push to the branch (git push origin feature/new-tutorial)
  5. Create a Pull Request

📄 License

This project is distributed under the MIT License. See LICENSE file for details.

⭐ Support the Project

If this project helped you learn Python, give it a star ⭐ on GitHub!

📧 Contact

If you have questions or suggestions:

  • Create an Issue on GitHub
  • Submit a Pull Request

Good luck learning Python! 🚀

Study sequentially, lesson by lesson, and you will become a professional Python developer!