How to get the name of your own file

Possible duplicate:
python path script

Is there a way so that I can print my own file name and current location.

+4
source share
1 answer

Could __file__ be what you are looking for?

+14
source

Source: https://habr.com/ru/post/1337097/


All Articles