This tutorial series explains the advanced Python concepts and helps you understand how and why things work in Python under the hood.
To learn advanced Python, you need to have basic Python knowledge and some practical experience in Python programming.
Section 1. Variables & Memory Management
- References – learn about references and how reference counting works in Python.
- Garbage collection – understand the garbage collection and how to interact with Python Garbage collector via the
- Dynamic typing – explain to you how dynamic typing works and understand the differences between static types and dynamic types.
- Mutable & Immutable objects – introduce you to mutable and immutable objects in Python.
- is operator – help you understand object identity and equality, and how to use the
isoperator to check if two variables reference the same object.
- None – learn about the None object and how to use it properly.
Section 2. Integer types
- Integers – learn about the integer and how Python stores the integers in the memory.
- Floor division operator (//) – introduce you to the floor division operator (//) and how to use it effectively.
- Modulo operator (%) – explain how the module operator (%) works in Python.
bool– explain how Python boolean works under the hood.
andoperator – learn how to use the
oroperator – show you how to use the
Section 3. Float
Section 4. Decimal
- Decimal – learn about the
decimalmodule that provides support for fast correctly-rounded decimal floating-point arithmetic.
Section 6. Closures
- Closures – help you understand the closures in Python and how to define closures.
Section 8. Named Tuples
- Named Tuples – learn how to use named tuples.
Section 9. Sequence Types
- Sequence types – learn about sequences and their basic operations
- Lists vs. Tuples – explain the main differences between the tuple and list.
- Slicing – show you how to use slicing to extract data from or assign data to a sequence.
- Custom Sequence Type – learn about the custom sequence type and show you how to use a custom sequence type to define the Fibonacci sequence.
Section 12. Context Managers
- Context Managers – learn about context managers and how to use them effectively.