1. Finding out what a python script imports - 2020 April 16

    Finding out what a Python module imports


    read more
  2. Pylint false positives with C extensions - 2020 April 14

    Pylint can give you false positives for missing-member errors when C extensions are involved, here's why and what you can do to avoid the issue.


    read more
  3. Stringly typed functions - 2020 March 28

    An overuse of strings when you could use better types is an antipattern I commonly see when doing code review of distressed systems. This tends to come up more often in older languages that have weaker type systems, but the issue can come up in more modern language also.


    read more
  4. Happy leap day! - 2020 February 29

    Happy leap day!


    read more
  5. Different techniques for debugging code - 2019 December 17

    An overview of various techniques that you can use for debugging.


    read more
  6. Using the Python markdown library - 2019 August 02

    Working with markdown files from Python


    read more
  7. Different ways to drop into an interactive python shell - 2019 July 21

    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
  8. Forwards compatibility with Python generators - 2019 July 03

    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
  9. MDB and vending machines - 2019 June 25

    Some notes about the MDB vending protocol (yes that weird 9 bit protocol used in some vending machines)


    read more
  10. Logging uncaught exceptions in Python applications - 2018 February 06

    You want to be able to get good logging data from your applications to be able to reduce the amount of time that you require in order to fix issues and debug problems. This is especially important for any unhandled exceptions that crash the program. This tutorial will show you a convenient way of making sure these are logged.


    read more

« Page 2 / 5 »