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...

Python Context Manager

File Context Manager Solving: not closing opened files….

Read more...

JSON

JSON: JavaScript Object Notation. JSON supports these t…

Read more...