An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# 30 Days of Python: From Zero to Python Pro

[![Python Logo](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white)](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 exercises

2. **Requirements**:
- Python 3.x
- Code editor (VS Code/PyCharm)
- Terminal basics

3. **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)