Skip to content

abbaskhan0345/python-basics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


📘 Python Learning Repository

Welcome to the Python Learning Repository 🎉 This repo is designed to help beginners understand Python step by step with Jupyter notebooks, examples, and exercises.

🐍 Introduction to Python

Python is a high-level, interpreted, and general-purpose programming language created by Guido van Rossum in 1991. It emphasizes readability, simplicity, and productivity, making it one of the most widely used programming languages in the world.

✨ Key Features of Python:

  • Simple & Easy to Learn → Python syntax is close to English.
  • Interpreted Language → No need for compilation, run code directly.
  • Portable → Write once, run anywhere (Windows, macOS, Linux).
  • Dynamic Typing → No need to declare variable types explicitly.
  • Extensive Libraries → Supports thousands of packages for web, AI, data science, etc.
  • Object-Oriented & Procedural → Supports multiple programming paradigms.

❓ Why Learn Python?

Python is one of the most popular programming languages in 2025, and there are solid reasons behind it:

  1. Beginner-Friendly → Its simple syntax makes it great for new programmers.

  2. Huge Community Support → Millions of developers contribute to libraries and tutorials.

  3. Versatile Applications:

    • Web Development 🌐 (Django, Flask)
    • Data Science 📊 (NumPy, Pandas, Matplotlib)
    • Artificial Intelligence 🤖 (TensorFlow, PyTorch, Scikit-learn)
    • Automation & Scripting ⚙️
    • Game Development 🎮
    • Cybersecurity 🔐
  4. High Demand in Jobs → Python developers are among the most in-demand programmers worldwide.

  5. Cross-Platform → Works seamlessly across multiple operating systems.


✅ Advantages of Python

  • 🧑‍💻 Readable & Maintainable Code
  • Rapid Development Speed compared to other languages
  • 🔌 Rich Ecosystem of third-party modules
  • 🌍 Open Source & Free
  • 🔬 Strong in Data Science, AI, and ML
  • 🔄 Supports Multiple Paradigms (Functional, OOP, Procedural)
  • 🚀 Scalable for small scripts and large enterprise apps

📂 Repository Structure

This repo contains structured Jupyter notebooks to learn Python step by step:

├── book/
│   └── Smarter Way to Learn Python.pdf    # Reference book by Mark Myers
├── notebooks/
│   ├── 01-basics.ipynb                    # Python Basics
│   ├── 02-conditions-loops.ipynb          # Conditions & Loops
│   ├── 03-functions.ipynb                 # Functions
│   ├── 04-oop.ipynb                       # Object-Oriented Programming
│   ├── 05-file-handling.ipynb             # File Handling
│   ├── 06-exceptions.ipynb                # Exceptions
│── -student-management-system.ipynb       # Mini Project
├── requirements.txt                       # Required dependencies
└── README.md                              # Project Documentation

🚀 Getting Started

  1. Clone the repository:

    git clone https://github.com/your-username/python-learning-repo.git
    cd python-learning-repo
  2. Install dependencies:

    pip install -r requirements.txt
  3. Launch Jupyter Notebook:

    jupyter notebook

📚 Resources for Learning Python


📝 Exercises

Each notebook comes with exercises to practice concepts. Try solving them before checking the provided examples!


🎯 Goal

By the end of this repository, you will:

  • Understand Python basics, OOP, file handling, and exceptions.
  • Be able to build small projects (like a Student Management System).
  • Have a solid foundation to move towards Data Science, AI/ML, or Web Development.

📌 Author

👤 Hazrat Abbas Khan 📧 abbaskhan0345060@gmail.com 🌐 @abbaskhan0345


Happy Coding & Keep Learning!


About

"A beginner-friendly Python learning repo with notebooks, examples, and exercises."

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published