Skip to content

Tag: python

Get source file path of a running python script from process id

I have a process running in the background, a python one, with ps -ef I can see filename from running command : UID PID PPID … python ./filename.py How can I know where the file is located Answer pwdx < PID > gives full directory the process is running from. So, the full script would be Though, yo…

Cannot Install SRC – Linux

I am failing to install SRC in Linux Mint 19 via PIP. I have attempted to paste the output and failed horribly, I have had to double space everything, otherwise, it comes out as one long run-on sentence. Not sure how to paste a readable output of my Linux terminal here. Sorry….. Answer tries to install …