Mohammed AL-Ma'amari
1 min readSep 21, 2018

--

<class 'Exception'> [Errno 2] No such file or directory: 'my_file_name.txt'

what is the default directory of an uploaded file ( uploaded to IBM Cloud Object Storage)

my code :

upload_file_cos(credentials = credentials_1,local_file_name = ‘./my_file_name.txt’,key = ‘my_file_name.txt’)

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Mohammed AL-Ma'amari
Mohammed AL-Ma'amari

Written by Mohammed AL-Ma'amari

I am a computer engineer | I love machine learning and data science and spend my time learning new stuff about them.

Responses (1)

Write a response