Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

list files in s3 folder python

import boto3

s3 = boto3.resource('s3')
my_bucket = s3.Bucket('my_bucket_name')

for object_summary in my_bucket.objects.filter(Prefix="dir_name/"):
    print(object_summary.key)
Comment

PREVIOUS NEXT
Code Example
Python :: python reload import 
Python :: importlib.reload not working 
Python :: python how to write pandas dataframe as tsv file 
Python :: how to fillna in all columns with their mean values 
Python :: save clipboard data win32clipboard python 
Python :: export data csv python 
Python :: python create uuid 
Python :: min max scaler sklearn 
Python :: python regex flags 
Python :: save request response json to file python 
Python :: python regex replace all non alphanumeric characters 
Python :: pandas add days to date 
Python :: python opencv number of frames 
Python :: translate sentences in python 
Python :: selenium find button by text 
Python :: python get cpu cores 
Python :: Python function remove all whitespace from all character columns in dataframe 
Python :: zip list to dictionary python 
Python :: pillow python crop 
Python :: how to save python list to file 
Python :: rmse in python 
Python :: how to open any application using python 
Python :: json file to dict python 
Python :: python how to read a xlsx file 
Python :: Convert a Video in python to individual Frames 
Python :: python flask query params 
Python :: tensorflow load h5 model 
Python :: python barcode generator 
Python :: python pil image flip 
Python :: Convert the sklearn.dataset cancer to a DataFrame. 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =