Run a python script with configurable access permissions. Inspired by deno run
.
This is not a sandbox.
Create a new file example.py
:
with open("./hello.txt", "w") as fp:
fp.write("Hello World!")
Run the script with python-run
:
python -m python_run example.py