1. Running pip as a Python module

    Since Python 3.4 you have been able to run pip as though it were a Python module, this actually prevents a variety of annoying issues from occurring.


    read more
  2. Using the Python markdown library

    Working with markdown files from Python


    read more
  3. Different ways to drop into an interactive python shell

    Dropping into an interactive shell can be a useful tool for debugging Python code. Here's a summary of some ways in which you can drop into an interactive shell.


    read more
  4. Forwards compatibility with Python generators

    PEP 479 changed how Python handled generators in a backwards incompatible manner, here's how to get compatible code working from Python 3.5+


    read more
  5. A day in the life of a package maintainer

    A lot of package maintenance goes on behind the scenes to make just about everything in modern software work, but a lot of it is invisible. Here's a recount of a day I spent maintaining an open source package.


    read more
  6. Deprecating module level variables

    Sometimes you will want to deprecate a module scope variable, but hooking into that isn't as straightforward. Here's one way you can do that using PEP 562.


    read more
  7. PyCon USA 2019 poster session poster

    Here's the high res PDF poster from the PyCon USA 2019 poster session.


    read more
  8. PyCon USA 2019 coming up!

    PyCon USA 2019


    read more
  9. PyCon Australia 2018

    Some of my notes from PyCon Australia 2018


    read more
  10. Python's __hash__ function is not a cryptographic hash

    You may have noticed that Python has an internal hashing method. Please note that this is not suitable as a cryptographic hash. If you need a cryptographic hash please use something else like hashlib.


    read more

« Page 2 / 4 »