I use RedHat linux.
How can I find where exactly the current python script is running?
I use this code:
It doesn't work when I run this command from the directory that
test.py is located:
That means sys.argv doesn't always contain the full path of
Any help would be appreciated,