Skip to content

Mastering_PYTHON_in30Days πŸš€ – Learn Python from basics to advanced with projects, DSA, OOP, and hands-on exercises in just 30 days! πŸπŸ’»

License

Notifications You must be signed in to change notification settings

choudaryhussainali/Mastering_PYTHON_in30Days

Repository files navigation

🐍 My Python Learning Journey

Welcome to Mastering Python in 30 Days!

Python GitHub Repo Size License Last Commit Issues

A complete day-to-day roadmap to learn Python from basics to advanced, including OOP, DSA, projects, file handling, error handling, and comprehensions.
Follow this repo to systematically master Python in 30 days!


Topics Covered

  • Basics
  • Control Flow
  • Data Structures
  • Functions & OOP
  • File Handling
  • Advanced Python
  • Libraries
  • Projects
  • DSA

30-Day Learning Plan

Week 1 – Python Basics & Control Flow

  • Day 1: introduction.py – Python setup, scripts, print(), comments.
  • Day 2: variables.py + data_types.py – Variables, data types, type conversions.
  • Day 3: input_output.py + type-casting.py – Input, output, type casting exercises.
  • Day 4: comments.py + operators.py – Arithmetic, comparison, logical operators.
  • Day 5: if_else.py + nested_if.py – Conditional statements and nesting.
  • Day 6: loops.py + nested_loops.py + break_continue_pass.py – Loops and flow control.
  • Day 7: match_case.py – match-case statements for structured conditional logic.

Week 2 – Data Structures & Functions

  • Day 8: lists.py + tuples.py – Lists, tuples, indexing, slicing, immutability.
  • Day 9: sets.py + dictionaries.py – Sets, dictionaries, and their methods.
  • Day 10: collections_module.py – Counter, defaultdict, namedtuple, deque.
  • Day 11: functions_basics.py + args_kwargs.py – Defining functions, arguments, keyword arguments.
  • Day 12: lambda_functions.py + return_values.py – Lambda functions and return values.
  • Day 13: nested_functions.py + parameters_arguments.py – Nested functions, parameters, scope.
  • Day 14: recursion.py – Recursive functions, factorial, Fibonacci, and sum exercises.

Week 3 – Advanced Functions & OOP

  • Day 15: decorators.py + closures.py – Function decorators and closures.
  • Day 16: iterators_generators.py – Iterators, iter(), next(), yield, generators.
  • Day 17: classes_objects.py + inheritance.py – Classes, objects, inheritance basics.
  • Day 18: polymorphism.py + encapsulation.py – Polymorphism, encapsulation.
  • Day 19: abstraction.py + magic_methods.py – Abstract classes, operator overloading, magic methods.

Week 4 – Modules, File Handling, Error Handling, Comprehensions & Projects

  • Day 20: importing.py + modules_basics.py + packages_basics.py – Modules and packages.
  • Day 21: basics.py + read_write_txt.py – File handling fundamentals.
  • Day 22: working_with_csv.py + working_with_json.py – CSV and JSON operations.
  • Day 23: custom_exceptions.py + raising_exceptions.py + try_except.py – Exception handling and raising exceptions.
  • Day 24: try_except_else_finally.py – Full try-except-else-finally usage.
  • Day 25: list_comprehensions.py + dict_comprehensions.py + set_comprehensions.py – Comprehensions with examples.
  • Day 26-27: file_organizer_bot.py – Apply file handling, loops, functions in a project.
  • Day 28-29: terminal_habit_tracker.py – Apply OOP, file I/O, error handling in a project.
  • Day 30: DSA Folder: arrays.py, linked_list.py, queues.py, stacks.py, searching_algorithms.py, sorting_algorithms.py, trees.py – Solve small problems using each data structure.

Tips for Success

  1. Write 10–15 small programs per day to reinforce concepts.
  2. Mix theory and coding exercises daily.
  3. Complete the projects in the last 4 days for practical experience.
  4. Review previous topics to strengthen retention.

πŸ“Œ By following this plan and repo structure, you will gain strong Python fundamentals, advanced skills, practical project experience, and DSA problem-solving abilities.


πŸ“‚ Folder Structure

  • 01_Python_Basics β†’ introduction, variables, data types, input/output, comments, operators, type-casting
  • 02_Control_Flow β†’ if-else, loops, nested if, match-case, nested loops, break/continue/pass
  • 03_Data_Structures β†’ lists, tuples, sets, dictionaries, collections module
  • 04_Functions β†’ functions basics, args/kwargs, lambda functions, return values, nested functions, parameters/arguments, recursion
  • 05_Advanced_Functions β†’ decorators, closures, iterators/generators
  • 06_OOP β†’ classes & objects, inheritance, polymorphism, encapsulation, abstraction, magic methods
  • 07_Modules_and_Packages β†’ importing, modules basics, packages basics
  • 08_File_Handling β†’ basics, read/write TXT, working with CSV, working with JSON
  • 09_Error_Handling β†’ custom exceptions, try-except, raising exceptions, try-except-else-finally
  • 10_Comprehensions β†’ list comprehensions, dict comprehensions, set comprehensions
  • 11_Project β†’ file organizer bot, terminal habit tracker
  • 12_DSA β†’ arrays, linked list, queues, searching algorithms, sorting algorithms, stacks, trees
  • README.md
  • .gitignore
  • LICENSE

πŸ“š Resources


πŸš€ Projects

  • Terminal Habit Tracker
  • File Organizer Bot

πŸ›  How to Use This Repo

  1. Clone the repo
    git clone https://github.com/your-username/Mastering_PYTHON_in30Days.git
    cd Mastering_PYTHON_in30Days
  2. Run the examples
    python 01-Basics/variables.py
  3. Follow the roadmap and complete one section each day
  4. Commit your changes as you progress

πŸ† Goal

By the end of these 30 days, you’ll be confident with:

  • Writing clean, efficient Python code
  • Using built-in and external libraries
  • Applying OOP concepts
  • Handling files, errors, and exceptions
  • Solving DSA problems in Python
  • Building real-world projects from scratch

πŸ”— Connect & Share

  • Star ⭐ this repo if it helps you
  • Fork 🍴 and contribute your own mini-projects
  • Share your Python journey on LinkedIn, Twitter, or GitHub

πŸ“„ License

This project is proprietary and confidential. All rights reserved.

Β© 2025 HUSSAIN ALI. This code may not be copied, modified, distributed, or used without explicit permission.

πŸ“¬ Contact

For questions or collaboration requests:


πŸ’‘ This repository is continuously updated as I progress. Feel free to star ⭐ and follow along with my journey!

---

About

Mastering_PYTHON_in30Days πŸš€ – Learn Python from basics to advanced with projects, DSA, OOP, and hands-on exercises in just 30 days! πŸπŸ’»

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages