Ultimate Python study guide
Ultimate Python study guide for newcomers and professionals alike.
print("Ultimate Python study guide")Motivation
I created a GitHub repo to share what I've learned about core Python
over the past 5+ years of using it as a college graduate, an employee at
large-scale companies and an open-source contributor of repositories like
Celery and
Full Stack Python.
I look forward to seeing more people learn Python and pursue their passions
through it.
Goals
Here are the primary goals of creating this guide:
main routines are not deleted and
run successfully after each change.
sqlalchemy, requests,
pandas) are not installed. However, reading the source code in these frameworks is
inspiring and highly encouraged if your goal is to become a true
Pythonista.
Table of contents
- About Python
- Overview: What is Python (
📚 ,🍰 ) - Design Philosophy: The Zen of Python (
📚 ) - Style Guide: Style Guide for Python Code (
📚 ,🤯 ) - Data Model: Data model (
📚 ,🤯 )
- Overview: What is Python (
- Syntax
- Variable: Built-in literals (
🍰 ) - Expression: Numeric operations (
🍰 ) - Conditional: if | if-else | if-elif-else (
🍰 ) - Loop: for-loop | while-loop (
🍰 ) - Function: def | lambda (
🍰 )
- Variable: Built-in literals (
- Data Structures
- List: List operations (
🍰 ) - Tuple: Tuple operations
- Set: Set operations
- Dict: Dictionary operations (
🍰 ) - Comprehension: list | tuple | set | dict
- String: String operations (
🍰 )
- List: List operations (
- Classes
- Basic class: Basic definition (
🍰 ) - Abstract class: Abstract definition
- Exception class: Exception definition
- Iterator class: Iterator definition | yield (
🤯 )
- Basic class: Basic definition (
- Advanced
- Decorator: contextlib | wraps (
🤯 ) - Metaclass: Metaclass definition (
🤯 ) - Method Resolution Order: mro (
🤯 ) - Asyncio: async | await (
🤯 ) - Weak reference: weakref (
🤯 ) - Benchmark: cProfile | pstats (
🤯 )
- Decorator: contextlib | wraps (
Additional resources
GitHub repositories
Keep learning by reading from other well-regarded resources.
- TheAlgorithms/Python (
👔 ,🧪 ) - faif/python-patterns (
👔 ,🧪 ) - geekcomputers/Python (
🧪 ) - karan/Projects (
🧠 ) - vinta/awesome-python (
🧠 ) - MunGell/awesome-for-beginners (
🧠 )
Interactive practice
Keep practicing so that your coding skills don't get rusty.