Python Meta-programming

In a nutshell: code that manipulates code. Common examp…

Read more...

Python Descriptors

Python descriptors are a way to create managed attribut…

Read more...

Python Metaclasses

The word “meta” means self-referential. A m…

Read more...

Python Decorators

Definition: a decorator is a function that takes anothe…

Read more...

Python Interpreter Internals

Internals of Python Interpreter (VM): Python source cod…

Read more...

Python Tricks

1. Access the last element in a non-empty array: a = [1…

Read more...

Python Advanced Topics

A list of Python Advanced Topics: Python Generators and…

Read more...

Python Unit Test

import unittest class TestStringMethods(unittest.TestCa…

Read more...