I am trying to send a POST request with Python to upload a file. I\'m converting the following sample code to Python but I\'m not familiar with how to set this up.