Skip to content

Latest commit

 

History

History
120 lines (88 loc) · 5.33 KB

README.md

File metadata and controls

120 lines (88 loc) · 5.33 KB

Python Tutorial for Beginners: Complete Hands-On Course

License: MIT Release Python YouTube Tutorial Code With Muh

A comprehensive, beginner-friendly Python programming curriculum spanning 16 hands-on modules. Designed to take learners from their first print("Hello, World!") statement all the way to object-oriented programming (OOP), custom module packaging, and robust exception handling.

Accompanies the Python 1-Hour Crash Course on YouTube.


16-Module Learning Roadmap

flowchart TD
    subgraph Level1 ["1. Core Foundations"]
        M01["01: First Program & Setup"] --> M02["02: Variables & Assignment"]
        M02 --> M03["03: Data Types & Casting"]
        M03 --> M04["04: Numbers & Math Ops"]
        M04 --> M05["05: Strings & Slicing"]
        M05 --> M06["06: Booleans & Logic"]
        M06 --> M07["07: Operators & Expressions"]
    end

    subgraph Level2 ["2. Data Structures"]
        M07 --> M08["08: Lists & Slicing"]
        M08 --> M09["09: Tuples & Immutability"]
        M09 --> M10["10: Sets & Hash Tables"]
        M10 --> M11["11: Dictionaries & Key-Value"]
    end

    subgraph Level3 ["3. Flow Control & Code Reuse"]
        M11 --> M12["12: Loops & Iterations"]
        M12 --> M13["13: Functions & Scope"]
        M13 --> M14["14: Modules & Imports"]
    end

    subgraph Level4 ["4. Production Python"]
        M14 --> M15["15: Exception Handling (try/except)"]
        M15 --> M16["16: Classes & Objects (OOP)"]
    end
Loading

Complete Curriculum Directory

Module Directory Key Topics & Learning Outcomes
01 01_Our_First_Python_Program Installing Python, running scripts in terminal, and the print() statement
02 02_Variables Variable naming conventions, dynamic typing, and memory assignment
03 03_data_types Primitive data types, type inspection (type()), and type conversion (int(), str())
04 04_numbers Integers, floating-point numbers, arithmetic operations, and precision
05 05_Strings String concatenation, indexing, slicing, string interpolation (f-strings)
06 06_Boolean Truth values, comparison operators (==, !=, <, >), and logical flags
07 07_Operators Arithmetic, assignment, comparison, logical (and, or, not), and identity operators
08 08_Lists Ordered collections, indexing, modifying items, list methods (append, pop, sort)
09 09_Tuples Immutable sequences, tuple packing/unpacking, and use cases vs lists
10 10_Sets Unordered unique collections, set theory operations (union, intersection, difference)
11 11_Dictionaries Key-value associative mappings, dictionary comprehension, and lookup optimization
12 12_For_Loops Iteration over sequences, for loops, while loops, break, continue, range()
13 13_Functions Defining functions (def), parameters, return values, docstrings, and variable scope
14 14_Modules Importing standard library modules (math, random), creating custom Python modules
15 15_Exception_handling Defensive programming with try, except, else, and finally blocks
16 16_Classes_and_objects Object-Oriented Programming (OOP): classes, __init__, attributes, methods, inheritance

Getting Started

1. Clone the Course

git clone https://github.com/codewithmuh/python-tutorial-for-beginners.git
cd python-tutorial-for-beginners

2. Verify Your Python Version

Python 3.8 or higher is recommended:

python3 --version

3. Run Any Lesson

Every module contains standalone, executable Python scripts:

# Run first lesson
python3 01_Our_First_Python_Program/app.py

# Run classes and objects lesson
python3 16_Classes_and_objects/app.py

Video Walkthrough

Watch the complete video tutorial on YouTube:

Watch the video


Author & Community

License

This project is open-source under the MIT License.