A quick start for Python decorators
Synopsis #!/usr/bin/env python3 import shutil # Decorator which pre-checks the space in /tmp # and throws an exception if the space is more than #...
Some thoughts
Synopsis #!/usr/bin/env python3 import shutil # Decorator which pre-checks the space in /tmp # and throws an exception if the space is more than #...
This is for fun, for silliness and for do not use anywhere-ness – or to quote the instructions: If you’ve ever wondered just how egregious...
You want to use pip to install a module from PyPI. However your server distribution in a little old (at the time of writing this...
I was entertained by Numberphile’s dice-based generation of an approximate of pi so thought I’d throw together a quick script to try this out: random_vals_pi The...