You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with default_storage.open(path, 'rt') as file:
print(file.readlines())
you get something like
[b'"Number","Name","Date","Datetime"']
The text was updated successfully, but these errors were encountered:
nl-emmanuellodovice
changed the title
S3Boto3StorageFile does always return bytes even if mode is set to rt
S3Boto3StorageFile always return bytes even if mode is set to rtFeb 15, 2021
nl-emmanuellodovice
changed the title
S3Boto3StorageFile always return bytes even if mode is set to rt
S3Boto3StorageFile's readlines always return bytes even if mode is set to rtFeb 15, 2021
Sample code
you get something like
The text was updated successfully, but these errors were encountered: