Ultimate Python study guide
Ultimate Python study guide for newcomers and professionals alike. 🐍 🐍 🐍
print("Ultimate Python study guide")
I created this 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. 🎓
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 and in the browser like
Replit. 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.
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
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:
- Run a single module:
- Run all of the modules:
Table of contents
📚 = External resource, 🍰 = Beginner topic, 🤯 = Advanced topic
- About Python
- Data Structures
- Decorator: Decorator definition | wraps (🤯)
- File Handling: File Handling (🤯)
- Context manager: Context managers (🤯)
- Method resolution order: mro (🤯)
- Mixin: Mixin definition (🤯)
- Metaclass: Metaclass definition (🤯)
- Thread: ThreadPoolExecutor (🤯)
- Asyncio: async | await (🤯)
- Weak reference: weakref (🤯)
- Benchmark: cProfile | pstats (🤯)
- Mocking: MagicMock | PropertyMock | patch (🤯)
- Regular expression: search | findall | match | fullmatch (🤯)
- Data format: json | xml | csv (🤯)
- Datetime: datetime | timezone (🤯)
👔 = Interview resource, 🧪 = Code samples, 🧠 = Project ideas
Keep learning by reading from other well-regarded resources.
- TheAlgorithms/Python (👔, 🧪)
- faif/python-patterns (👔, 🧪)
- geekcomputers/Python (🧪)
- trekhleb/homemade-machine-learning (🧪)
- karan/Projects (🧠)
- MunGell/awesome-for-beginners (🧠)
- 30-seconds/30-seconds-of-python (🧪)
- freeCodeCamp/freeCodeCamp (👔)
Keep practicing so that your coding skills don't get rusty.