News

How does Python deal with memory management? Learn the ins and outs of Python's garbage collection system and how to avoid its pitfalls.
To the MicroPython team’s credit, the socket module is a good copy of the desktop Python version, and you can get a very simple webserver coded up in a few lines, but that’s a few more lines ...
This post explains what a Python module is and how to use it to drastically extend the capabiltiies of your code. Plus: how to make your own!
As an example, the socket module generates many different exceptions for various conditions, and they all are named "error". What makes each condition distinct lies in the exceptions details.