Contribute Media
A thank you to everyone who makes this possible: Read More

DIY: Python with partially charged batteries


In this talk, we discuss how some features in standard Python library can be manually re-implemented using a subset of Python itself. Examples include: - built-in range function - namedtuple class constructor - property decorator - Enum class (since Python 3.4) - dataclass (since Python 3.7) - etc. Throughout the process of re-implementing these features, we should gain more in-depth understanding the mechanisms inside Python.

Programmer: Specialized in problem solving, algorithm and data structure. Interested in robotics.


Improve this page