Python And Keyboard Events
If you are wondering, like me, how you can get key press events in a Python script or commandline tool without having to write a lot of boilerplate code, look no further, Click has you covered.
Continue ReadingIf you are wondering, like me, how you can get key press events in a Python script or commandline tool without having to write a lot of boilerplate code, look no further, Click has you covered.
Continue ReadingIt's the 21st century, emoji have made their way into the daily lives of even my grandparents...and ASCII-based locales are still the default in Ubuntu. Luckily, it can be fixed, even if it isn't the most straightforward thing to do in Docker images. Here's one way of doing it...
Continue ReadingThere's a great piece of testing software called betamax that makes integration testing of Web APIs awesome by recording actual requests and responses and then playing them back when running the tests again. But does it work with Amazon's new boto3 API wrapper? Yes, and this post shows how simple it can be. Enjoy!
Continue ReadingThe new Enum class in Python 3.4 is an interesting addition for plain enumerated values. However, in cases where these values are supposed to be displayed for a user to read, a text representation of the values would be great to have. Well, there is a way...
Continue Reading