# ultimate-python **Repository Path**: wheatj/ultimate-python ## Basic Information - **Project Name**: ultimate-python - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-10-28 - **Last Updated**: 2025-10-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Ultimate Python study guide [![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/huangsam/ultimate-python/ci.yml)](https://github.com/huangsam/ultimate-python/actions) [![Code Coverage](https://img.shields.io/codecov/c/github/huangsam/ultimate-python)](https://codecov.io/gh/huangsam/ultimate-python) [![Quality Gate Status](https://img.shields.io/sonar/quality_gate/huangsam_ultimate-python?server=https%3A%2F%2Fsonarcloud.io)](https://sonarcloud.io/dashboard?id=huangsam_ultimate-python) [![License](https://img.shields.io/github/license/huangsam/ultimate-python)](https://github.com/huangsam/ultimate-python/blob/main/LICENSE) [![r/Python](https://img.shields.io/badge/reddit-original_post-red)](https://www.reddit.com/r/Python/comments/inllmf/ultimate_python_study_guide/) Ultimate Python study guide for newcomers and professionals alike. 🐍 🐍 🐍 ```python print("Ultimate Python study guide") ``` [English](README.md) | [ν•œκ΅­μ–΄](README.ko.md) | [繁体中文](README.zh_tw.md) | [EspaΓ±ol](README.es.md) | [Deutsch](README.de.md) | [FranΓ§ais](README.fr.md) | [ΰ€Ήΰ€Ώΰ€¨ΰ₯ΰ€¦ΰ₯€](README.hi.md) | [PortuguΓͺs - Brasil](README.pt_br.md) Ultimate Python ## Motivation I created this GitHub repo to share what I've learned about [core Python](https://www.python.org/) 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](https://github.com/celery/celery) and [Full Stack Python](https://github.com/mattmakai/fullstackpython.com). 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](https://www.jetbrains.com/pycharm/) and in the browser like [Replit](https://replit.com/languages/python3). 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](runner.py) after each change. πŸ† **Serve as a pure guide** for those who want to revisit core Python concepts. Only [builtin libraries](https://docs.python.org/3/library/) 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](https://www.urbandictionary.com/define.php?term=pythonista). ## Getting started [![Run on Replit](https://replit.com/badge/github/huangsam/ultimate-python)](https://replit.com/github/huangsam/ultimate-python) 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/syntax/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](https://github.com/trekhleb/learn-python/blob/master/src/getting_started/what_is_python.md) ( πŸ“š, 🍰 ) - Design philosophy: [The Zen of Python](https://www.python.org/dev/peps/pep-0020/) ( πŸ“š ) - Style guide: [Style Guide for Python Code](https://www.python.org/dev/peps/pep-0008/) ( πŸ“š, 🀯 ) - Data model: [Data model](https://docs.python.org/3/reference/datamodel.html) ( πŸ“š, 🀯 ) - Standard library: [The Python Standard Library](https://docs.python.org/3/library/) ( πŸ“š, 🀯 ) - Built-in functions: [Built-in Functions](https://docs.python.org/3/library/functions.html) ( πŸ“š ) 2. **Syntax** - Variable: [Built-in literals](ultimatepython/syntax/variable.py) ( 🍰 ) - Expression: [Numeric operations](ultimatepython/syntax/expression.py) ( 🍰 ) - Bitwise: [Bitwise operators](ultimatepython/syntax/bitwise.py) ( 🍰 ), [One's/Two's Complement](https://www.geeksforgeeks.org/difference-between-1s-complement-representation-and-2s-complement-representation-technique/) ( πŸ“š ) - Conditional: [if | if-else | if-elif-else](ultimatepython/syntax/conditional.py) ( 🍰 ) - Loop: [for-loop | while-loop](ultimatepython/syntax/loop.py) ( 🍰 ) - Function: [def | lambda](ultimatepython/syntax/function.py) ( 🍰 ) 3. **Data Structures** - List: [List operations](ultimatepython/data_structures/list.py) ( 🍰 ) - Tuple: [Tuple operations](ultimatepython/data_structures/tuple.py) - Set: [Set operations](ultimatepython/data_structures/set.py) - Dict: [Dictionary operations](ultimatepython/data_structures/dict.py) ( 🍰 ) - Comprehension: [list | tuple | set | dict](ultimatepython/data_structures/comprehension.py) - String: [String operations](ultimatepython/data_structures/string.py) ( 🍰 ) - Deque: [deque](ultimatepython/data_structures/deque.py) ( 🀯 ) - Namedtuple: [namedtuple](ultimatepython/data_structures/namedtuple.py) ( 🀯 ) - Defaultdict: [defaultdict](ultimatepython/data_structures/defaultdict.py) ( 🀯 ) - Time complexity: [cPython operations](https://wiki.python.org/moin/TimeComplexity) ( πŸ“š, 🀯 ) 4. **Classes** - Basic class: [Basic definition](ultimatepython/classes/basic_class.py) ( 🍰 ) - Inheritance: [Inheritance](ultimatepython/classes/inheritance.py) ( 🍰 ) - Abstract class: [Abstract definition](ultimatepython/classes/abstract_class.py) - Exception class: [Exception definition](ultimatepython/classes/exception_class.py) - Iterator class: [Iterator definition | yield](ultimatepython/classes/iterator_class.py) ( 🀯 ) - Encapsulation: [Encapsulation definition](ultimatepython/classes/encapsulation.py) 5. **Advanced** - Decorator: [Decorator definition | wraps](ultimatepython/advanced/decorator.py) ( 🀯 ) - File Handling: [File Handling](ultimatepython/advanced/file_handling.py) ( 🀯 ) - Context manager: [Context managers](ultimatepython/advanced/context_manager.py) ( 🀯 ) - Method resolution order: [mro](ultimatepython/advanced/mro.py) ( 🀯 ) - Mixin: [Mixin definition](ultimatepython/advanced/mixin.py) ( 🀯 ) - Metaclass: [Metaclass definition](ultimatepython/advanced/meta_class.py) ( 🀯 ) - Thread: [ThreadPoolExecutor](ultimatepython/advanced/thread.py) ( 🀯 ) - Asyncio: [async | await](ultimatepython/advanced/async.py) ( 🀯 ) - Weak reference: [weakref](ultimatepython/advanced/weak_ref.py) ( 🀯 ) - Benchmark: [cProfile | pstats](ultimatepython/advanced/benchmark.py) ( 🀯 ) - Mocking: [MagicMock | PropertyMock | patch](ultimatepython/advanced/mocking.py) ( 🀯 ) - Regular expression: [search | findall | match | fullmatch](ultimatepython/advanced/regex.py) ( 🀯 ) - Data format: [json | xml | csv](ultimatepython/advanced/data_format.py) ( 🀯 ) - Datetime: [datetime | timezone](ultimatepython/advanced/date_time.py) ( 🀯 ) ## Additional resources πŸ‘” = Interview resource, πŸ§ͺ = Code samples, 🧠 = Project ideas ### GitHub repositories Keep learning by reading from other well-regarded resources. - [TheAlgorithms/Python](https://github.com/TheAlgorithms/Python) ( πŸ‘” , πŸ§ͺ ) - [faif/python-patterns](https://github.com/faif/python-patterns) ( πŸ‘” , πŸ§ͺ ) - [geekcomputers/Python](https://github.com/geekcomputers/Python) ( πŸ§ͺ ) - [trekhleb/homemade-machine-learning](https://github.com/trekhleb/homemade-machine-learning) ( πŸ§ͺ ) - [karan/Projects](https://github.com/karan/Projects) ( 🧠 ) - [MunGell/awesome-for-beginners](https://github.com/MunGell/awesome-for-beginners) ( 🧠 ) - [vinta/awesome-python](https://github.com/vinta/awesome-python) - [academic/awesome-datascience](https://github.com/academic/awesome-datascience) - [josephmisiti/awesome-machine-learning](https://github.com/josephmisiti/awesome-machine-learning) - [ZuzooVn/machine-learning-for-software-engineers](https://github.com/ZuzooVn/machine-learning-for-software-engineers) - [30-seconds/30-seconds-of-python](https://github.com/30-seconds/30-seconds-of-python) ( πŸ§ͺ ) - [ml-tooling/best-of-python](https://github.com/ml-tooling/best-of-python) - [practical-tutorials/project-based-learning](https://github.com/practical-tutorials/project-based-learning#python) - [freeCodeCamp/freeCodeCamp](https://github.com/freeCodeCamp/freeCodeCamp) ( πŸ‘” ) - [microsoft/ML-For-Beginners](https://github.com/microsoft/ML-For-Beginners) ( πŸ§ͺ ) - [microsoft/Data-Science-For-Beginners](https://github.com/microsoft/Data-Science-For-Beginners) ( πŸ§ͺ ) - [Avik-Jain/100-Days-Of-ML-Code](https://github.com/Avik-Jain/100-Days-Of-ML-Code) ( πŸ§ͺ ) ### Interactive practice Keep practicing so that your coding skills don't get rusty. - [codechef.com](https://www.codechef.com/) ( πŸ‘” ) - [codeforces.com](https://codeforces.com/) - [codementor.io](https://www.codementor.io) ( 🧠 ) - [coderbyte.com](https://www.coderbyte.com/) ( πŸ‘” ) - [codewars.com](https://www.codewars.com/) - [exercism.io](https://exercism.io/) - [geeksforgeeks.org](https://www.geeksforgeeks.org/) ( πŸ‘” ) - [hackerearth.com](https://www.hackerearth.com/) - [hackerrank.com](https://www.hackerrank.com/) ( πŸ‘” ) - [kaggle.com](https://www.kaggle.com/) ( 🧠 ) - [labex.io](https://labex.io/exercises/python)( πŸ§ͺ ) - [leetcode.com](https://leetcode.com/) ( πŸ‘” ) - [projecteuler.net](https://projecteuler.net/) - [replit.com](https://replit.com/) - [w3schools.com](https://www.w3schools.com/python/) ( πŸ§ͺ ) - [teclado.com](https://teclado.com/30-days-of-python/#prerequisites) ( πŸ‘” ) - [fullstakpython.org](https://fullstackpython.org/) ( πŸ§ͺ )