blog @spotflux
These are the thoughts and opinions written by the spotflux team and our colleagues.
Show MenuHide Menu

Archives

Uploading files in Python 3

April 3, 2014   

Here at Spotflux, we use Python 3 in our client build process to script some of our automated tests. A new test recently required us to post a file to a web service, using HTTP. We found a nice little snippet at ActiveState to do it, but, as with many Python examples at the moment, it was written for version 2, which has many incompatible differences.

read more …