by
1
8
3,169
1
Top 1% !
Popular
Famous
Tagged
Easy-to-find
Specified
Refined
OpenSource
Popularity: 4298th place
Created
Modified Aug 4, 2013

Published on:

Architecturex86_64
LanguagePython
LicenseMIT_X11
Target Frameworkaws

Amazon S3 Aws - How to delete a file from a bucket

This code shows how to delete an object from an existing bucket, using boto python API.
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/4923/Amazon-S3-Aws---How-to-delete-a-file-fro?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
# This call deletes the file pippo.txt bucket.delete_key('pippo.txt')

Other Steps and Solutions

If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus