Python
Code. Learn. Repeat. Python Edition
Install / Use
/learn @Zemerik/PythonREADME
30 Days of Python: From Zero to Python Pro
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.
📚 Overview
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
🗓 Curriculum
| 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 |
Python Installation:
📌 Windows Installation
1️⃣ Download & Install Python
- 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.
2️⃣ Verify Installation
- Open Command Prompt (cmd) and type:
python --version
OR
python3 --version
If Python is installed correctly, it will show the version number.
3️⃣ Running Python
- Open Command Prompt and type
pythonto open the interactive shell. - Type
exit()to quit. - To run a script, save a file as
script.pyand run:
python script.py
4️⃣ Install VS Code (Recommended IDE)
- 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.
🍏 macOS Installation
1️⃣ Install Python
Using Homebrew (Recommended)
- Install Homebrew (if not installed):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install Python:
brew install python
Using Official Installer
- Download Python from Python.org.
- Run the installer and follow the instructions.
2️⃣ Verify Installation
- Open Terminal and type:
python3 --version
If Python is installed correctly, it will show the version number.
3️⃣ Running Python
- Open Terminal, type
python3to start interactive mode. - To run a script:
python3 script.py
4️⃣ Install VS Code (Recommended IDE)
- 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.
🐧 Linux Installation
1️⃣ Install Python
On Debian-based (Ubuntu, Mint, etc.)
sudo apt update && sudo apt install python3 python3-pip -y
On Fedora
sudo dnf install python3 python3-pip -y
On Arch Linux
sudo pacman -S python python-pip
2️⃣ Verify Installation
python3 --version
If Python is installed correctly, it will show the version number.
3️⃣ Running Python
- Open Terminal, type
python3to start interactive mode. - To run a script:
python3 script.py
4️⃣ Install VS Code (Recommended IDE)
- 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.
✅ Running Python Scripts
- 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:
🛠 Usage
-
Daily Structure:
- Each folder contains:
README.mdwith 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
💡 Tips for Success
-
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:
🤝 Contributing
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
📜 License
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)
Related Skills
claude-opus-4-5-migration
107.6kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
model-usage
346.8kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
TrendRadar
50.7k⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
mcp-for-beginners
15.8kThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workflows from session setup to service orchestration.
