Welcome to My Python Journey! This repository contains topic-wise Python programs, starting from basics and progressing to advanced topics.
It is designed for beginners, intermediate learners, and anyone who wants to strengthen their Python skills.
- Basics
- Control Flow
- Functions
- Data Structures
- Object-Oriented Programming (OOP)
- File Handling
- Exception Handling
- Modules & Packages
- Advanced Python
- Libraries
- Mini Projects
- How to Run
hello_world.py– Print "Hello, World!"variables.py– Learn Python variablesdata_types.py– Check types: int, float, string, booleaninput_output.py– Take user input and print output
if_else.py– Conditional statementsloops.py– For and while loopsbreak_continue.py– Using break and continue
functions_basics.py– Basic functionslambda_functions.py– Anonymous (lambda) functionsrecursion.py– Recursive functions
lists.py– Python liststuples.py– Tuplessets.py– Setsdictionaries.py– Dictionaries
classes_objects.py– Classes and objectsinheritance.py– Inheritancepolymorphism.py– Polymorphismencapsulation.py– Encapsulation
read_write_files.py– Read and write filescsv.py– Work with CSV files
try_except.py– Basic exception handlingcustom_exceptions.py– Create and use custom exceptions
math_module.py– Python math modulecustom_module.py– Custom module usage
decorators.py– Function decoratorsgenerators.py– Generatorscontext_managers.py– Usingwithstatements
- Make sure you have Python installed (>=3.x)
- Open terminal/command prompt
- Navigate to the project folder:
cd path/to/My-Python-Journey