Skip to content

sanchalitorpe-source/My-Python-Journey

Repository files navigation

My Python Journey 🐍

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.


Table of Contents

  1. Basics
  2. Control Flow
  3. Functions
  4. Data Structures
  5. Object-Oriented Programming (OOP)
  6. File Handling
  7. Exception Handling
  8. Modules & Packages
  9. Advanced Python
  10. Libraries
  11. Mini Projects
  12. How to Run

Basics

  • hello_world.py – Print "Hello, World!"
  • variables.py – Learn Python variables
  • data_types.py – Check types: int, float, string, boolean
  • input_output.py – Take user input and print output

Control Flow

  • if_else.py – Conditional statements
  • loops.py – For and while loops
  • break_continue.py – Using break and continue

Functions

  • functions_basics.py – Basic functions
  • lambda_functions.py – Anonymous (lambda) functions
  • recursion.py – Recursive functions

Data Structures

  • lists.py – Python lists
  • tuples.py – Tuples
  • sets.py – Sets
  • dictionaries.py – Dictionaries

Object-Oriented Programming (OOP)

  • classes_objects.py – Classes and objects
  • inheritance.py – Inheritance
  • polymorphism.py – Polymorphism
  • encapsulation.py – Encapsulation

File Handling

  • read_write_files.py – Read and write files
  • csv.py – Work with CSV files

Exception Handling

  • try_except.py – Basic exception handling
  • custom_exceptions.py – Create and use custom exceptions

Modules & Packages

  • math_module.py – Python math module
  • custom_module.py – Custom module usage

Advanced Python

  • decorators.py – Function decorators
  • generators.py – Generators
  • context_managers.py – Using with statements

How to Run

  1. Make sure you have Python installed (>=3.x)
  2. Open terminal/command prompt
  3. Navigate to the project folder:
cd path/to/My-Python-Journey

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages