How to obtain the current path to my google colab file?

Viewed 292

I work with google colab on my google drive. When I do

import os 
cwd= os.getcwd()
print (cwd)

it return

/content

. How to obtain the path to my google colab file like

/content/drive/path_to_my_current_google_colab_file

0 Answers
Related