I wrote a simple webapp using google app engine in python that allows users to upload images and have it stored somewhere (for now I'm just using the blob store based on the tutorials).
Now I want to send the images to google cloud storage, but am not sure how to do this. They provide two modes when opening a file: "a" and "r". Neither of them, to my knowledge, are for binary streams.
How can I send an image to google cloud storage? Code snippets or references would be nice. I am planning to send small audio samples as well, and other binary data.
Also, how can I delete the image if a user wishes to delete it? There doesn't seem to be a delete method available.