Skip to content

This repository contains all the class notes and documents covering the topics discussed during the lectures.

Notifications You must be signed in to change notification settings

GN-coding/Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ“ Python – Student Learning Materials

This repository contains all the class notes and documents covering the topics discussed during the lectures.
It is designed to help students learn Python programming step by step through theory, practice exercises, and quizzes.

πŸ“– Python Beginner Roadmap

  1. Introduction to Python

    • What is Python?
    • Features & Applications
    • Installing Python & IDEs
      • Background code execution (How code works)
    • Writing Your First Python Program
  2. Basic Syntax and Operations

    • Comments
    • Variables & Constants
    • Keywords & Identifiers
    • Data Types (int, float, str, bool, None)
    • Type Casting
    • Input/Output Functions
  3. Operators

    • Arithmetic Operators
    • Comparison Operators
    • Logical Operators
    • Assignment Operators
    • Bitwise Operators
    • Identity Operators
    • Membership Operators
  4. Control Flow

    • Conditional Statements (if, elif, else)
    • Loops
      • for loop
      • while loop
      • Loop Controls (break, continue, pass)
    • range() Function
  5. Data Structures

    • Strings
      • Methods
      • Slicing & Formatting
    • Lists
      • Indexing/Slicing
      • Methods
    • Tuples
      • Immutability
    • Dictionaries
      • Key-Value Access & Methods
    • Sets
      • Set Operations
  6. Functions and Recursion

    • Defining & Calling Functions
    • Parameters & Return Values
    • *args and **kwargs
    • Lambda Functions
    • Recursion
  7. Exception Handling

    • Types of Errors
    • try-except Block
    • else & finally
    • raise Keyword
  8. Modules and Packages

    • Importing Built-in Modules
    • Creating Custom Modules
    • Using pip
  9. File Handling

    • Opening and Closing Files
    • Reading and Writing Files
    • File Modes
    • Context Manager (with statement)
  10. Object-Oriented Programming (OOP)

    • Classes & Objects
    • init() Constructor
    • Instance & Class Variables
    • Inheritance
    • Polymorphism
    • Encapsulation
    • Dunder (Magic) Methods
  11. Advanced Concepts (Optional for Beginners)

    • List/Dict/Set Comprehensions
    • Decorators
    • Generators & Iterators
    • JSON Handling
    • datetime Module
    • Regular Expressions
  12. Practice and Mini Projects

    • Calculator
    • Number Guessing Game
    • To-Do List CLI
    • File Organizer
    • CRUD App (with File Storage)

πŸ“‚ Repository Structure

  • Python_Intro.ipynb β†’ Jupyter Notebook with notes & examples
  • Exercises/README.md β†’ Exercises + Quiz instructions
  • Quiz Link β†’ Direct link to online quiz
  • assets/ β†’ (Optional) images or resources

βš™οΈ Requirements

  • Python 3.x
  • Jupyter Notebook /IDLE/PYcharm
  • Internet connection (for the quiz)

Install Jupyter Notebook with:

pip install notebook

About

This repository contains all the class notes and documents covering the topics discussed during the lectures.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published