/explore
|
You are here |
juandebravo.com | ||
| | | | |
eli.thegreenplace.net
[AI summary] This article explains how to add a new 'until' statement to Python's compiler by modifying its grammar, AST generation, and bytecode compilation processes. |
|
| | | | | ||
| | | | |
ericlathrop.com
I often need to view a bunch of static HTML files in my browser locally, and I often need to open them with http:// rather than file:// URLs so related CSS or JavaScript files load correctly. Luckily, Python provides a simple web server, and most Linux distros include Python. |
|
| | | | | ||
| | | | |
bfontaine.net
Tips and tricks in Python, Bash, Clojure and other languages/environments. |
|
| | | | | ||
| | | | |
borutzki.github.io
Sometimes a function takes multiple arguments of different types, and the return type depends on specific combinations of inputs. It's often easy to understand by reading code, but how do you tell the type checker that this is the case? This is where the @overload decorator from the typing module comes handy. |
|
| | | |||