This repository is intended to cover almost every aspect of fundamental building blocks of Python, and also is supposed to be a reference point for any specific functionality you might be looking for in Python.
Reference: Real Python
-
Datatypes:
- Floating Point Arithmetic: Issues and Limitations
- Strings in Python
- Built-in functions
- Official docs: Built-in functions
-
Variables:
- Object References
- Object Identity
- Python Naming Conventions
- Idiomatic Python
-
Operators:
- Arithmetic Operators
- Logical Operators
- Python Operator Precedence
-
Lists:
- How to Use sorted() and sort() in Python
- Shallow vs Deep Copying of Python Objects
-
Sets:
-
Python Lexical Structure
-
Control flow:
- pass statement
- while loop
- Python: the guts of for loop
- The range function
- Comprehending Python’s Comprehensions
-
IO:
- The string modulo operator
- string.format()
- f-strings
-
Functions:
- Argument passing
- Python args and kwargs: Demystified
- Keyword only arguments
- Position only arguments
- Docstring convention
- Documenting Python Code: A Complete Guide
- Python function annotations
-
Regular Expressions:
- Metacharacters supported by re module
- Online Regex tester and debugger: Regex 101
- Regex Demystified
- Modify Regex matching using Python flags
- re-module functions
- Match Object Methods and Attributes
-
OOP:
- super() in Multiple Inheritance
- Inheritance and Composition: A Python OOP guide
- C3 superclass linearization Python
- Operator, Function Overloading - A Complete Example
- Python Data Classes
- Python Meta Classes
-
Decorators:
-
Concurrency:
- What the heck is the event loop anyway? by Philip Roberts
- asyncio Design Patterns
- Async IO’s Roots in Generators
- Async IO in Python: A Complete Walkthrough
- I don't understand Python's Asyncio
- What Is the Python Global Interpreter Lock (GIL)?
-
Setup & Dependency Management:
- An Effective Python Environment: Making Yourself at Home
- What Is Pip? A Guide for New Pythonistas
- Pipenv: A Guide to the New Python Packaging Tool
- Managing Multiple Python Versions With pyenv
-
Testing:
-
Idiomatic:
- Python Best Practices for More Pythonic Code
- Refactoring Python Applications for Simplicity
- Python Code Quality: Tools & Best Practices
- Python Application Layouts: A Reference
-
More:
- Python eval(): Evaluate Expressions Dynamically
- How to Use Python Lambda Functions
- Primer on Python Decorators
- How to Stand Out in a Python Coding Interview
- Python Practice Problems: Get Ready for Your Next Interview