/Python-Learning

This repository contains my Python practice codes and exercises completed while learning Python programming.

Primary LanguagePython

🐍 Python Learning Repository

Welcome to my Python Learning Repository! Here you’ll find all of the code examples and exercises I’ve completed as I progress through a comprehensive Python course.

🔧 Installing Python :

To run the code in this repository, you need to have Python installed on your system.

Step 1: Download Python :

Visit the official Python website:
🔗 https://www.python.org/downloads/ Download the latest version suitable for your operating system.

Step 2: Install Python :

Windows -

  1. Run the installer.
  2. Important: Check the box that says "Add Python to PATH".
  3. Click Install Now.

macOS -

Install via the .pkg installer or Homebrew:

brew install python

Linux (Ubuntu/Debian) -

sudo apt update
sudo apt install python3

Step 3: Verify Installation :

python --version
python3 --version

Course Structure :

1. Python Fundamentals -

  • Variables and data types
  • Input/output
  • Basic operators

2. Control Flow and Loops -

  • Conditional statements
  • Loops
  • Loop control statements

3. Strings -

  • String operations and methods
  • String formatting
  • Slicing and indexing

4. Functions and Modules -

  • Defining functions
  • Arguments and return values
  • Scope and lambda functions
  • Importing and using modules

5. Data Structures in Python -

  • Lists, Tuples, Sets, and Dictionaries
  • Comprehensions
  • Nested structures

6. Object-Oriented Programming (OOP) in Python -

  • Classes and objects
  • Inheritance and polymorphism
  • Encapsulation and abstraction

7. Advanced Python Concepts -

  • Decorators
  • Generators and iterators
  • Error handling and exceptions
  • Context managers

8. File I/O & Related Modules -

  • Reading and writing files
  • Working with file paths
  • Using modules

9. Working with External Libraries -

  • Installing packages
  • Using third-party libraries

10. Using AI as a Developer -

  • Introduction to AI tools
  • Automating coding tasks
  • Writing code with AI assistance

11. Hands-On Python Projects -

  • Real-world mini-projects to apply learned concepts