Where python script is running
Project description
Pywhereisrunning
To see where the python script is running when the script is running.
Basically, it uses SIGUSR1 to send the signal to the python script, the script get the signal and use the frame to display where the script is running.
Usage
Just
import pywhereisrunning
to make the function available.
when you're run the script, use
kill -SIGUSR1 $(PID)
pywhereisrunning $(filename)
to show where the script is running.
After the command, will show
main.py func=main line=9:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for pywhereisrunning-0.0.1-py36-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8321bb09d5365b4f1b31343693d60b0f76be902da33c96367323da02a1ae4d67 |
|
MD5 | aff3ab1e230c86c74c5f77e8b052efa9 |
|
BLAKE2b-256 | 845ea0e552057ae64282a935ecee36679d8d34f07a2ae3a44d023dcad407a366 |