huangsam /ultimate-python

Ultimate Python study guide 🐍 🐍 🐍

★ 5,986⑂ 595👁 145⑃ 220● 15▤ 0
PythonMITCreated 2020-05-03ultimatepython.org
+0
日增长
5,986
stars
595
forks
145
watchers
220
prs
15
issues
0
releases

README

Ultimate Python study guide






Ultimate Python study guide for newcomers and professionals alike. 🐍 🐍 🐍

python
print("Ultimate Python study guide")


English |
한국어 |
繁体中文 |
Español |
Deutsch |
Français |
हिन्दी |
Português - Brasil



 Motivation

I created this GitHub repo to share what I've learned about core Python
over the past 10+ 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:

🏆 Serve as a resource for Python newcomers who prefer to learn hands-on.
This repository has a collection of standalone modules which can be run in an IDE
like PyCharm or in the browser via GitHub Codespaces.
Even a plain old terminal will work with the examples. Most lines have carefully crafted
comments which guide a reader through what the programs are doing step-by-step. Users
are encouraged to modify source code anywhere as long as the main routines are not
deleted and run successfully after each change.

🏆 Serve as a pure guide for those who want to revisit core Python concepts.
Only builtin libraries are leveraged so that
these concepts can be conveyed without the overhead of domain-specific concepts. As
such, popular open-source libraries and frameworks (i.e. 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.

 Getting started



Click the badge above to spin up a working environment in the browser without
needing Git and Python installed on your local machine. If these requirements
are already met, feel free to clone the repository directly.

Once the repository is accessible, you are ready to learn from the standalone
modules. To get the most out of each module, read the module code and run it.
There are two ways of running the modules:

1. Run a single module: python ultimatepython/fundamentals/variable.py
2. Run all of the modules: python runner.py

 Table of contents

📚 = External resource,
🍰 = Beginner topic,
🤯 = Advanced topic

1. About Python
    - Overview: What is Python ( 📚, 🍰 )
    - Design philosophy: The Zen of Python ( 📚 )
    - Style guide: Style Guide for Python Code ( 📚, 🤯 )
    - Data model: Data model ( 📚, 🤯 )
    - Standard library: The Python Standard Library ( 📚, 🤯 )
    - Built-in functions: Built-in Functions ( 📚 )
2. Fundamentals
    - Variable: Built-in literals ( 🍰 )
    - Expression: Numeric operations ( 🍰 )
    - String: String operations ( 🍰 )
    - List: List operations ( 🍰 )
    - Tuple: Tuple operations
    - Set: Set operations
    - Dict: Dictionary operations ( 🍰 )
    - Conditional: if | if-else | if-elif-else ( 🍰 )
    - Loop: for-loop | while-loop ( 🍰 )
    - Function: def | lambda ( 🍰 )
    - Comprehension: list | tuple | set | d

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON