- [https://github.com/jupyter/qtconsole] created
qtconsole
which is the core gui I used in my code.
People love python. We use python to run a lot of processes at the back end. For e.g., one may have a script run 24/7 scrapping stock tick price from yahoo.com, or may have a python script sent report everyday. Windows Task Schedule works great for it, however, we never know if a script is failed or not. Thats why I decide to build this gui monitor system and hopefully it can help me keep track of all my python scripts and make sure they are successfully run.
python version | availability |
---|---|
python 3.6 | available |
< python 3.5 | untested |
python 2.x | unavailable |
PyQt5 pip install pyqt5
qtconsole pip install qtconsole
- color indicator of each python shell working status
- red: IDLE
- green: BUSY
- color indicator for catch the log level inside script
- load
example.json
and run to test it
- run
python_python_script_monitor_main.py
- click
+
to create a new instance of qt-jupyter console - choose the
*.py
file path - run your python script Optional
- single click the left panel button to switch between script
- double click the left panel name button to change script name; press
Enter
after finished editing - under
menu
at the top left, you can save/load your configuration files (current script path and name)
I put two example files, one for testing log color change, another one for testing python shell status.
One can simply open them, and using save config
function inside menu
bar to see whats going on
- sometimes after stop the shell and quickly restart the shell, qt window crahsed
- sometimes the status signal didn't emit to the button at left, thus button color does not change
- add alerting function if any task went wrong
- audio
- skype
- slack
- sms