No, -T
just means 'upload this file', which can be used with FTP but is not limited to that.
You can just upload the file data as the data
parameter:
with open('screenies/hello.jpg', 'rb') as image:
request = requests.put(url, headers=headers, data=image)
where data
will read and upload the image data for you.