Skip to content

Latest commit

Β 

History

75 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Python Learning Roadmap in 30 Days

Python License: MIT GitHub Stars GitHub Forks

Welcome to the Python Learning Roadmap in 30 Days! This repository is designed to guide you through a structured, hands-on 30-day journey to learn Python from scratch and master its core conceptsβ€”from basic syntax to databases and web development.

🌐 Connect with Me

Website LinkedIn YouTube TryHackMe Discord Email

Python Learning Roadmap

🐍 Why Python and Why This Roadmap?

Python is a high-level, versatile programming language known for its clean syntax and readability. Backed by a massive ecosystem, it is widely used across web development, data science, machine learning, cybersecurity, and task automation.

This roadmap breaks Python down into manageable 3-to-4-day sprints paired with practical mini-projects so you can reinforce every concept by building real applications.

Buy Me A Coffee

πŸ› οΈ How to Use This Repository

The curriculum is divided into sequential modules inside the 30 Days Essentials directory, while hands-on applications live under Projects.

Python30Days/
β”œβ”€β”€ 30 Days Essentials/
β”‚   β”œβ”€β”€ Days-1-3.md      # Setup, Syntax & Core Data Types
β”‚   β”œβ”€β”€ Days-4-6.md      # Conditionals & Loops
β”‚   β”œβ”€β”€ Days-7-10.md     # Data Structures
β”‚   β”œβ”€β”€ Days-11-14.md    # Functions, Modules & Virtual Environments
β”‚   β”œβ”€β”€ Days-15-18.md    # File Handling, JSON/APIs & Error Handling
β”‚   β”œβ”€β”€ Days-19-22.md    # Object-Oriented Programming (OOP)
β”‚   β”œβ”€β”€ Days-23-26.md    # Databases & SQL
β”‚   └── Days-27-30.md    # Web Development & Frameworks
β”œβ”€β”€ Projects/
β”‚   └── Readme.md        # Hands-on Practical Applications
β”œβ”€β”€ source/
β”‚   └── python-in-30-days.png
β”œβ”€β”€ LICENSE
└── README.md

To jump into a specific module, click any section link belowβ€”for example, Days 4-6 opens Days-4-6.md directly.

πŸ“ Course Content

Days 1-3: Basic Concepts and Installation

  • Understand what makes Python popular and set up your local development environment.
  • Learn core syntax, variables, input/output, and fundamental data types (str, int, float, bool).

Days 4-6: Conditional Statements and Loops

  • Master control flow using if, elif, and else alongside comparison and logical operators.
  • Automate repetitive tasks with for and while loops, break, and continue.

Days 7-10: Data Structures

  • Work effectively with built-in collections: list, tuple, set, and dict.
  • Practice indexing, slicing, comprehensions, and common collection methods.
  • Milestone Project: Random Password Generator

Days 11-14: Functions, Modules, and Packages

  • Write reusable, modular code with functions, arguments, return values, and basic type hints.
  • Explore standard library modules (math, random, datetime) and manage external packages with pip and venv.

Days 15-18: File Handling, APIs, and Error Handling

  • Read from and write to local files safely using context managers (with open(...) and pathlib).
  • Handle runtime exceptions gracefully with try, except, else, and finally.
  • Milestone Projects: Simple Notepad Application, Dictionary Application, To-Do List Application

Days 19-22: Object-Oriented Programming (OOP)

  • Model real-world entities using classes, objects, attributes, and methods.
  • Apply core OOP principles including encapsulation, inheritance, and polymorphism.
  • Milestone Project: Bank Application

Days 23-26: Database Connection and SQL

  • Connect Python applications to relational databases (such as SQLite).
  • Execute CRUD operations (SELECT, INSERT, UPDATE, DELETE) safely using parameterized SQL queries.
  • Milestone Project: Vehicle Rental Application

Days 27-30: Web Development and External APIs

  • Explore Python web frameworks such as Flask and Django.
  • Build a simple web application and integrate live external API data.
  • Milestone Project: Weather Application

Inside the Projects directory, you will find practical applications mapped to the concepts you learn along the roadmap:

Project Recommended After Key Skills Practiced
Random Password Generator Days 7-10 Loops, strings, random module, custom character sets, saving output to files
Simple Notepad Application Days 15-18 File I/O, CLI user input, basic text management
Dictionary Application Days 15-18 Dictionaries, file persistence, search/lookup logic
To-Do List Application Days 15-18 Task state management, CLI workflows, data persistence
Bank Application Days 19-22 OOP design, account authentication, balance & transfer logic
Vehicle Rental Application Days 23-26 SQLite database integration, user registration/login, inventory & rental tracking
Weather Application Days 27-30 External REST API requests, JSON parsing, real-time city weather lookup

πŸ“‹ Study Tips for Success

  1. Code Every Day: Dedicate consistent daily time to reading the notes and typing out the examples yourself.
  2. Build Without Copying: Complete the milestone mini-projects from scratch before checking reference solutions.
  3. Review and Refactor: Revisit earlier exercises as you learn functions, OOP, and file/database persistence to improve your old code.
  4. Keep Exploring: Once you finish Day 30, branch into specialized areas like web backends, data analysis, or cybersecurity scripting.

πŸ“– BONUS: Books & Articles


πŸ“¬ Feedback & Community

  1. Report an Issue: Found a typo, broken link, or bug? Open an Issue with details so we can fix it quickly.
  2. Suggest Improvements: Have ideas for new topics or exercises? Share them in GitHub Discussions or open a feature request.
  3. Showcase Your Work: Built one of the projects in this roadmap? Share your repository link in the discussions to inspire other learners!

🀝 Contributing

Contributions from the community are always welcome! To add new learning material or improve existing lessons:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-improvement).
  3. Commit your changes (git commit -m "Add: description of your change").
  4. Push to your branch (git push origin feature/your-improvement).
  5. Open a Pull Request against the main branch.

πŸ’° Support the Project

If you find this roadmap helpful, consider supporting my work so I can continue creating free, open-source educational content and tools:

BuyMeACoffee Patreon

Happy coding!


πŸ“„ License

Python Learning Roadmap in 30 Days is licensed under the MIT License. See the LICENSE file for details.