A structured, project-based learning path to master Python programming in 30 days. Each day focuses on specific concepts with hands-on examples and exercises.
This curriculum is designed to take you from absolute beginner to proficient Python developer through:
- Daily focused lessons with code examples
- Progressive difficulty building on previous knowledge
- Practical projects to reinforce learning
- Comprehensive documentation in each folder
Day | Topic | Key Concepts |
---|---|---|
1 | Python Basics | print() , variables, input |
2 | Data Types | Strings, numbers, booleans |
3 | Control Flow | if/elif/else statements |
4 | Loops | for/while, range |
5 | Functions | Definition, parameters, return |
6 | Lists & Tuples | List methods, tuple unpacking |
7 | Dictionaries & Sets | Key-value pairs, set operations |
8 | File Handling | Read/write files, context managers |
9 | Error Handling | try/except/finally |
10 | Modules | Importing, name |
11 | OOP Basics | Classes, objects |
12 | Advanced OOP | Inheritance, polymorphism |
13 | Built-in Functions | map, filter, reduce |
14 | List Comprehensions | Compact list creation |
15 | Decorators | Function decoration |
16 | Generators | yield, memory efficiency |
17 | Regular Expressions | Pattern matching |
18 | API Interaction | Requests library |
19 | Virtual Environments | venv, pipenv |
20 | Package Management | pip, requirements.txt |
21 | Scripting Project | Real-world automation |
22 | NumPy Basics | Array operations |
23 | Pandas Basics | DataFrames, CSV |
24 | Data Visualization | Matplotlib |
25 | Web Scraping | BeautifulSoup |
26 | Web Basics | Flask/Django intro |
27 | Databases | SQLite integration |
28 | Testing | Unit tests, pytest |
29 | Debugging | pdb, logging |
30 | Final Project | Full-stack application |
- Visit Python's official website.
- Download the latest Windows Installer.
- Run the installer and check the box "Add Python to PATH".
- Click Install Now and wait for the installation to complete.
- Open Command Prompt (cmd) and type:
python --version
OR
python3 --version
If Python is installed correctly, it will show the version number.
- Open Command Prompt and type
python
to open the interactive shell. - Type
exit()
to quit. - To run a script, save a file as
script.py
and run:
python script.py
- Download VS Code from https://code.visualstudio.com/.
- Install the Python Extension from the Extensions Marketplace.
- Open your Python script in VS Code and press F5 to run.
- Install Homebrew (if not installed):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install Python:
brew install python
- Download Python from Python.org.
- Run the installer and follow the instructions.
- Open Terminal and type:
python3 --version
If Python is installed correctly, it will show the version number.
- Open Terminal, type
python3
to start interactive mode. - To run a script:
python3 script.py
- Install VS Code from https://code.visualstudio.com/.
- Install the Python Extension from Extensions Marketplace.
- Open a Python file in VS Code and press F5 to run.
sudo apt update && sudo apt install python3 python3-pip -y
sudo dnf install python3 python3-pip -y
sudo pacman -S python python-pip
python3 --version
If Python is installed correctly, it will show the version number.
- Open Terminal, type
python3
to start interactive mode. - To run a script:
python3 script.py
- Install VS Code:
sudo snap install --classic code # Ubuntu
OR
sudo dnf install code # Fedora
- Install the Python Extension from Extensions Marketplace.
- Open a Python file in VS Code and press F5 to run.
- Write a Python script and save it as
script.py
. - Run it using the appropriate command:
- Windows:
python script.py
- macOS/Linux:
python3 script.py
- Windows:
-
Daily Structure:
- Each folder contains:
README.md
with concept explanations- Code examples (.py files)
- Practice exercises
- Spend 2-3 hours daily:
- Read the README first
- Experiment with code files
- Complete exercises
- Each folder contains:
-
Requirements:
- Python 3.x
- Code editor (VS Code/PyCharm)
- Terminal basics
-
Getting Started:
git clone https://github.com/Zemerik/Python.git
cd Python
-
Code Daily: Consistent practice > marathon sessions
-
Experiment: Modify examples and break things
-
Take Notes: Document your learnings
-
Build Projects: Expand beyond provided examples
-
Join Community:
Found an issue or want to improve the content?
-
Fork the repository
-
Create your feature branch
-
Commit your changes
-
Push to the branch
-
Open a Pull Request
MIT License - Feel free to use and modify for personal/commercial use
- 📢 “The only way to learn a new programming language is by writing programs in it.” – Dennis Ritchie (Creator of C)