How would I find the path to the file of a program?
For example: If I have sublime open, and have a text file open inside it
How would I get the file path of the text file?
Is it possible to do it to a web browser to get the links in the tabs. or Microsoft word?
Any help is appreciated
Edit: I want a python script that can get paths of the currently executed file to be used for transferring over network