Fix my Python boto download sciprt

This is my current code:

from [url removed, login to view] import S3Connection

from [url removed, login to view] import Key

import sys

conn = S3Connection('____________________', '________________________________________')

bucket = conn.get_bucket('bucketname')

rs = [url removed, login to view]("FamilyPhotos")

for key in rs:

print [url removed, login to view]

keys = [key for key in bucket]

latest = max(keys)


Currently it doesnt work. I have files in my s3 bucket in a specific folder which have filenames formatted in the following way:


[url removed, login to view]

[url removed, login to view]

At the moment there is some pseudo code in there that I am not sure how to replace it with the correct python code. What it is designed to do is establish a connection to my S3 bucket and download a file which has the most recent filename.

Kemahiran: Perkhidmatan Web Amazon, Python

Lihat lagi: how to fix my, how do i fix my, what is amazon web services, python download file, download file python, code sys, amazon web services s3, pseudo code, download some files from, boto python, python fix code, amazon boto, boto, boto download, fix python, python download, import files folder, pseudo code code, Python boto, amazon print, download import download, download zip files, connection python, fix print, python fix

Tentang Majikan:
( 70 ulasan ) Bristol, United Kingdom

ID Projek: #4047235

Dianugerahkan kepada:


I've alredy tried it. Just 3 lines of code.

£20 GBP dalam 0 hari
(2 Ulasan)

5 pekerja bebas membida secara purata £21 untuk pekerjaan ini


I can help you with this. Let's get started today.

£25 GBP dalam 2 hari
(3 Ulasan)

I understand the problem .And i only bid low because am new here.

£20 GBP dalam sehari
(0 Ulasan)

I'm an experienced Python developer and can make this work for you.

£20 GBP dalam sehari
(0 Ulasan)

Hello, I have experience with boto, I can fix this script.

£20 GBP dalam sehari
(0 Ulasan)