How do you show the path of the current running python module?
24877
How to retrieve a module's path?
45470
How do I get the version of an application from the command line?
12579
How to determine the current shell I'm working on
80275
How to find location of installed library
72828
Analogue of NotebookDirectory[] for scripts (to get the directory path of my script.m)?
78086
How to show the full path of a file or directory in the terminal?
92196
Get path of my script file
28622
Finding current executable's path without /proc/self/exe
112095
How to get the python.exe location programmatically?
134810
How do I find out what directory my console app is running in?
76632
How can you quickly get the complete path to a file for use in terminal?
111229
Module to list menu_router / path debug info?
117988
Python: logging module - globally
29147
How to add the current project path in Print Composer?
137056
View shell function's current definition
100365
Why is Python running my module when I import it, and how do I stop it?
48322
Getting path of project, or layer file in PyQGIS?