How can I find the source path of an executing script?
51749
What's the best way to determine the location of the current PowerShell script?
81882
How can I get the application's path in a .NET console application?
12149
How do I get the path and name of the file that is currently executing?
10754
determining path to sourced shell script
158866
Is there any function to retrieve the path associated with an inode?
7715
Get path to application?
16958
How do I get the directory that a program is running from?
112095
How to get the python.exe location programmatically?
115702
How do I get query string value from script path?
23662
How do I find out command line arguments of a running program?
30828
How can I tell which package an executable came from?
60658
how can i get the executable's current directory in py2exe?
68779
How to know the path of the running script in Python?
4733
How to get the full executable name of a running process in Linux
17301
How can i find the python triggered by the GUI?
13413
How can I get the source code of a Python function?
82805
How to get the location of a program in Ubuntu terminal?