Skip to content

Runs python in a shell, preventing from exiting immediately and needing to start powershell

Notifications You must be signed in to change notification settings

NoKodaAddictions/PyProxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyProxy

Part of the Northwest Notes set.

Runs requested python programs in a shell.

Can restart programs when errors or changes occur.

Can start other programs by using COMMAND start (Providing you also have programmanager.py and a Programs folder).

Automatically installs third party python modules

How to get PyProxy to automatically install PIP modules

# This is at line 1 of your program
"""
!--_--~
Your
Pip
Modules
!--_--~
"""

Make sure to set the default program to run .py files to CnR.exe (Catch n Reroute) and also specify the pyproxy file that will be run in routeTo.txt. (The name of the file will be there by default)

If you want your program to exit immeadiately intentionally, add SUBORDINATE in between the !--_--~ tags and pyproxy will exit immediately.

image

REMINDERS

Please replace the {{ PATH TO... }} segments with the path to whatever PyProxy or CnR is looking for (Program manager, routeTo, etc)

Use pyinstaller to compile the CnR source code and remember to set the default program to run .py files to CnR.exe

About

Runs python in a shell, preventing from exiting immediately and needing to start powershell

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages