Exploring Python through counter-intuitive snippets. If you think you know Python, think once more! - satwikkansal/wtfpython... (more…)
Read more »
If you have been following my blog, you may have noticed a pattern; I write a lot about testing software. Recently, I picked up a book on Building Micro Services, where I came across a chapter on testing micro services. This post is about mocking your pyt... (more…)
Read more »
In this tutorial, you'll learn about the Python modulo operator (%). You'll look at the mathematical concepts behind the modulo operation and how the modulo operator is used with Python's numeric types. You'll also see ways to use the modulo operator in y... (more…)
Read more »
Laurie describes how to build your own pitch control module in python and demonstrates how it can be used to evaluate a player's passing options using tracki... (more…)
Read more »
I was writing a lambda function which, among other things, was supposed to read a csv file from S3, perform some validation on every row, then use boto3 to perform an S3 multipart upload.
I created a wrapper class around the multipart upload functionality... (more…)
Read more »