How to assign your current folder of jupyter notebook to a data path variable? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 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 ответ
+ 2
import os path=os.path.dirname(os.path.realpath(__file__))+"\\"
2nd Aug 2021, 5:00 AM
Sancho Godinho
Sancho Godinho - avatar