Skip to content

vertinski/copyrun

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

CopyRun

This program runs Python code which is copied in clipboard

WARNING!!
USE AT YOUR OWN RISK! NO GUARANTIES IF ANYTHING GETS BROKEN. DO NOT COPY ANYTHING EXCEPT PYTHON CODE YOU HAVE REVIEWED!! FOR EDUCATIONAL AND INFORMATIONAL PURPOSES ONLY.

Steps:

  1. Launch copyrun-1.2.0.py
  2. Copy valid Python code from anywhere
  3. Enjoy the code running instantly
  4. Pause the app when needed

This app automatically executes Python code after it is copied in clipboard. It saves the contents of the clipboard in file "testscript.py" and executes it. Saved code is located in the same directory as CopyRun.py program. It ONLY executes content which is different from previously copied content. The CopyRun app waits for the launched code to exit and then continues to work. At all times there is an app window visible, which indicates that this app is active and running. While active, CopyRun writes status messages and launched program's output in terminal.
You can pause the CopyRun app if copying text other than Python programs, or code execution not needed at the moment. Do that by toggling the green switch!

About

This program automatically runs Python code copied in clipboard

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages