A long-term Python revision hub — collecting code, notes, exercises, and study materials from tutorials, books, workshops, and more.
This repository is a personal, evolving study space for revising and deepening Python knowledge. It is not tied to a single course or tutorial — instead, it grows over time as new topics are explored, practised, and documented.
Whether you are skimming for a quick reference or following along systematically, you will find structured notes, runnable scripts, and hands-on exercises here.
- Maintain a single organised place for all Python revision material.
- Build a habit of writing clean, well-documented practice code.
- Cover Python concepts from fundamentals through to advanced topics.
- Collect useful snippets, patterns, and examples from varied sources.
python-revision/
├── src/ # Runnable Python scripts organised by topic
│ ├── basics/ # Variables, data types, operators, I/O
│ ├── control_flow/ # Conditionals, loops
│ ├── functions/ # Functions, lambdas, decorators
│ ├── oop/ # Classes, inheritance, dunder methods
│ ├── modules/ # Imports, packages, standard library
│ ├── file_io/ # File handling, context managers
│ ├── exceptions/ # Error handling, custom exceptions
│ └── advanced/ # Generators, comprehensions, async, etc.
│
├── notes/ # Markdown notes and concept summaries
│ └── <topic>.md
│
├── exercises/ # Practice problems and solutions
│ ├── problems/ # Problem statements
│ └── solutions/ # Worked solutions
│
├── materials/ # PDFs, cheat-sheets, and external references
│
├── .gitignore
├── LICENSE
└── README.md
Note: Not all folders exist yet — they are added as new topics are studied.
- Python 3.12 installed — download from python.org.
git clone https://github.com/dev-rajeshsinha/python-revision.git
cd python-revisionpython src/basics/hello_world.pypython -m venv .venv
# Activate — macOS / Linux
source .venv/bin/activate
# Activate — Windows
.venv\Scripts\activateNo external dependencies are required for most scripts. If a topic-specific requirements.txt is present inside a folder, install it with:
pip install -r <folder>/requirements.txtThe content in this repository is drawn from the following sources. New sources will be added as the revision journey continues.
| Source | Type | Link / Reference |
|---|---|---|
| Add tutorial name here | YouTube / Book / Workshop | Add link or reference |
This section will be updated as new learning materials are added.
This repository is licensed under the MIT License — feel free to use, adapt, and share any content here.
Made with ❤️ for continuous learning