kobayashi / s3monkey

A Python library that allows you to interact with Amazon S3 Buckets as if they are your local filesystem.
402 stars 13 forks source link

Read file content #2

Closed metmirr closed 5 years ago

metmirr commented 6 years ago

Is it possible to read file content as follow:

file_list = os.listdir(mount_point)
print(file_list[10])
with open(file_list[10], 'r') as f:
    print(f.read())

When I try I get exception: FileNotFoundError: [Errno 2] No such file or directory:

ParthS007 commented 5 years ago

Closing due to inactivity :+1: