Welcome to the Learn Python repository!
This structured and beginner-friendly repo is your roadmap to mastering Python — from absolute basics to more advanced concepts.
Folder | Description |
---|---|
00_Setup_Introduction |
How to set up Python, IDEs, and run your first script. |
01_Python_Basics |
Variables, data types, operators, input/output, and basic syntax. |
02_Data_Structures |
Lists, tuples, dictionaries, sets, and how to manipulate them. |
03_Functions_Modularity |
Functions, parameters, return values, lambda, and modular coding. |
04_OOP_in_Python |
Classes, objects, inheritance, encapsulation, and polymorphism. |
05_File_IO |
Reading/writing files, working with text, CSVs, and file modes. |
06_Error_Handling |
Exceptions, try/except, custom exceptions, and best practices. |
07_Standard_Library_Essentials |
Useful Python standard libraries like math , datetime , os , etc. |
08_Virtual_Environments_Packages |
Using venv , pip , requirements files — see env_commands.md . |
09_Pythonic_Idioms_Advanced |
List comprehensions, generators, decorators, and other Pythonic ways. |
10_Testing_Basics |
Writing tests with unittest or pytest , TDD principles. |
-
Clone the repo:
git clone https://github.com/rishabharaj/Learn-python.git
-
Navigate into a topic folder and explore the Python files.
-
Recommended IDEs: VS Code, PyCharm, or Jupyter Notebooks.
-
Don’t forget to check
env_commands.md
for virtual environment setup!
- Beginners wanting a clear roadmap.
- Intermediate devs looking to revisit or fill gaps.
- Anyone preparing for Python interviews or projects.
- Practice each section by writing your own examples.
- Explore Python docs: https://docs.python.org/3/
- Try converting concepts into small projects.
Feel free to star, fork, or contribute.
Found a mistake? Open an issue or PR — your help is appreciated!
Made with ❤️ by Rishabharaj
This repository is open source and available under the MIT License.