Transcrypt
Transcrypt copied to clipboard
How to use transcrypt directly in python code
I want to use transcrypt in my python code instead of using cmd.how can i do it
I don't believe Transcrypt is designed to be used as a library where you can import it, but you can run it like any other program using the Python subrocess module:
import subprocess
subprocess.run(['transcrypt', 'myapp.py'])
That said, depending on your needs, it might make more sense to run it in a shell script instead of a Python file.
Closing this issue due to no further comments.