I'm saving images in cloudstore (blobstore) using 'cloudstorage' library in 
python. 

Well, this images are the image profile from  users and I get the url from 
blobstore to save this with the rest of data of user.
And now I' m trying develop the way to erase this files using the same url 
that I have saved in the data block of users, but I dont find a simple way 
to do this with the 'cloudstorage' library.

I could save the filename of the photos of users in DB togheter to url to 
access faster, but I prefer know how I can could make this.

Thanks you so much for help.

Code example that I want more o less:

def DeleteFile(self, url):
key = keyFromUrl(url)
gcs.delete(key)

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/04075f75-4513-4896-bdfd-8210c1cd66c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine] H... Juan Antonio Fernández Sánchez
    • [google-appengi... 'Adam (Cloud Platform Support)' via Google App Engine
      • [google-app... Juan Antonio Fernández Sánchez
        • [google... 'Adam (Cloud Platform Support)' via Google App Engine
          • [go... Juan Antonio Fernández Sánchez
            • ... 'Adam (Cloud Platform Support)' via Google App Engine

Reply via email to