https://github.com/zemerik/python
Code. Learn. Repeat. Python Edition
https://github.com/zemerik/python
30daysofcode educational learning-exercise learning-python open-source public-docs python python-3 pyton3
Last synced: about 1 month ago
JSON representation
Code. Learn. Repeat. Python Edition
- Host: GitHub
- URL: https://github.com/zemerik/python
- Owner: Zemerik
- License: mit
- Created: 2025-03-11T08:36:40.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-04-14T13:49:07.000Z (about 1 month ago)
- Last Synced: 2025-04-14T14:55:43.755Z (about 1 month ago)
- Topics: 30daysofcode, educational, learning-exercise, learning-python, open-source, public-docs, python, python-3, pyton3
- Language: Python
- Homepage: https://python.org
- Size: 58.6 KB
- Stars: 14
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# 30 Days of Python: From Zero to Python Pro
[](https://www.python.org/)
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
1. Visit [Python's official website](https://www.python.org/downloads/).
2. Download the latest **Windows Installer**.
3. Run the installer and check the box **"Add Python to PATH"**.
4. 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 `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
```### 4οΈβ£ Install VS Code (Recommended IDE)
1. Download **VS Code** from [https://code.visualstudio.com/](https://code.visualstudio.com/).
2. Install the **Python Extension** from the Extensions Marketplace.
3. Open your Python script in VS Code and press **F5** to run.---
## π macOS Installation
### 1οΈβ£ Install Python
#### Using Homebrew (Recommended)
1. Install Homebrew (if not installed):
```
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```2. Install Python:
```
brew install python
```#### Using Official Installer
1. Download Python from [Python.org](https://www.python.org/downloads/mac-osx/).
2. 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 `python3` to start interactive mode.
- To run a script:
```
python3 script.py
```### 4οΈβ£ Install VS Code (Recommended IDE)
1. Install **VS Code** from [https://code.visualstudio.com/](https://code.visualstudio.com/).
2. Install the **Python Extension** from Extensions Marketplace.
3. 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 `python3` to start interactive mode.
- To run a script:```
python3 script.py
```### 4οΈβ£ Install VS Code (Recommended IDE)
1. Install **VS Code**:
```
sudo snap install --classic code # Ubuntu
```OR
```
sudo dnf install code # Fedora
```2. Install the **Python Extension** from Extensions Marketplace.
3. 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`## π Usage
1. **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 exercises2. **Requirements**:
- Python 3.x
- Code editor (VS Code/PyCharm)
- Terminal basics3. **Getting Started**:
```bash
git clone https://github.com/Zemerik/Python.git
cd Python
```## π‘ Tips for Success
1. **Code Daily**: Consistent practice > marathon sessions
2. **Experiment**: Modify examples and break things
3. **Take Notes**: Document your learnings
4. **Build Projects**: Expand beyond provided examples
5. **Join Community**:
## π€ Contributing
Found an issue or want to improve the content?
1. Fork the repository
2. Create your feature branch
3. Commit your changes
4. Push to the branch
5. 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)