How to assign your current folder of jupyter notebook to a data path variable? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to assign your current folder of jupyter notebook to a data path variable?

How to assign your current folder of jupyter notebook to a data path variable? There I have many images I would like to read all of them

24th Jul 2021, 12:30 PM
Zhenis Otarbay
Zhenis Otarbay - avatar
1 Answer
+ 2
import os path=os.path.dirname(os.path.realpath(__file__))+"\\"
2nd Aug 2021, 5:00 AM
Sancho Godinho
Sancho Godinho - avatar