In Python, using plus signs to concatenate strings together is one of the first things you learn, i.e. print(“hello” + “world!”), and it should be one of the first things you stop using. Using plus signs to “add” strings together is inherently more error prone, messier...
Continue reading...python
Discover AWS State Machines using Python Lambdas for an ETL process
Step Functions, State Machines, and Lambdas oh my! AWS has really been expanding what you can do without needing to actually stand up any servers. I’m going to walk through a very basic example of how to get going with your own Python code to create an...
Continue reading...Uploading large files by chunking – featuring Python Flask and Dropzone.js
It can be a real pain to upload huge files. Many services limit their upload sizes to a few megabytes, and you don’t want a single connection open forever either. The super simple way to get around that is simply send the file in lots of...
Continue reading...ThreadPools explained – In the deep end
Thread and Multiprocessing Pools are an underused feature of Python. In my opinion, they are the easiest way to dip your feet into concurrency, and yet still the method I use most often. They allow you to easily offload CPU or I/O bound tasks to a...
Continue reading...