- π Python
- π What is Python?
- π€ Why am I learning Python?
- π Table of Contents
- π Basics
- π Control Flow
- π§ Functions
- π Data Structures
- ποΈ Object-Oriented Programming (OOP)
- π¦ Modules and Packages
- π File Handling
β οΈ Exception Handling- π Advanced Topics
- β³ Asynchronous and Concurrent Programming
- π Built-in Functions and Utilities
- π Additional Topics
Python is a high-level, interpreted programming language known for its readability, simplicity, and versatility, often used for web development, data analysis, artificial intelligence, and scientific computing.
- Python was my first programming language πΆ, so I want to re-learn it and make a cheat sheet for future reference.
- I want to use π¦ LangChain and β‘οΈ FastAPI for my projects. π
- I want to learn π€ Machine Learning. There are many libraries for that in Python.
- Hello, World!
- Variables and Data Types
- Basic Syntax and Comments
- Type Conversion
- Operators
- User Input and Output
- String Manipulation and Methods
- Conditionals (
if
,else
,elif
) - Loops (
for
,while
) - Loop Control Statements (
break
,continue
,pass
,else
in loops) - Exception Handling
- Defining Functions
- Function Arguments (Default,
*args
,**kwargs
) - Lambda Functions
- Variable Scope (
local
,global
,nonlocal
) - Closures
- Decorators
- Classes and Objects
- Methods and Attributes
- Inheritance and Polymorphism
- Encapsulation and Abstraction
- Magic Methods and Operator Overloading
- Property Decorators (
@property
,@setter
,@deleter
) - Data Classes (
dataclasses
module)
- Importing Modules
- Creating and Using Packages
- Installing Packages with
pip
- Virtual Environments (
venv
,virtualenv
) - Standard Libraries Overview
- Reading and Writing Files
- File Modes and Buffering
- Working with Binary Files
- Context Managers (
with
statement) - Handling CSV and JSON Files
- Type Hinting and Annotations
- Iterators and Generators
- Advanced Decorators
- Context Managers (Advanced Usage)
- Metaclasses