Search found 2 matches
Search found 2 matches • Page 1 of 1
- Wed Jan 11, 2017 9:36 am
- Forum: General Discussion and Questions
- Topic: Getting path of current script
- Replies: 3
- Views: 92
Thanks for the answer Dave. What I need to do is to find out if the current script is running from the internal flash or from the SD card. So the relative path thing is a problem. And __file__ is not defined for main.py. I would like to be able to obtain the absolute path for the current running scr...