This repository is designed as a personal learning playground for improving Python programming skills. It contains exercises, mini-projects, notes, and references that help explore Python's core concepts and libraries in a structured way.
The goal of this project is to develop a hands-on understanding of Python through practical coding examples. Each directory focuses on a specific topic and grows in complexity as the project progresses.
learn-python/
│
├── basics/
│ ├── variables.py
│ ├── conditionals.py
│ └── loops.py
│
├── intermediate/
│ ├── functions.py
│ ├── classes_and_objects.py
│ └── file_handling.py
│
├── projects/
│ ├── calculator/
│ │ ├── calculator.py
│ │ └── README.md
│ ├── todo_app/
│ │ ├── todo.py
│ │ └── README.md
│ └── data_analysis/
│ ├── data_analysis.py
│ └── README.md
│
├── resources/
│ ├── cheat_sheets.md
│ └── useful_links.md
│
└── README.md
-
Clone this repository:
git clone https://github.com/jjaspreetsingh/learn-python.git
-
Navigate to the project directory:
cd learn-python -
Run scripts using Python:
python3 basics/variables.py
- Python 3.8 or higher
- Basic command-line knowledge
- A code editor such as VS Code or PyCharm
(Optional) Create and activate a virtual environment:
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Understand Python syntax and data structures
- Practice problem-solving with real examples
- Learn file handling, error management, and modules
- Explore Python libraries such as requests, pandas, and matplotlib
Feel free to fork this repository and suggest improvements, add exercises, or organize new sections. Contributions are welcome from all learners.
This project is open-source under the MIT License.