Files
pier/README.md
2022-05-10 11:51:29 +02:00

614 B

pier

Python Interpreter Executing Remotely

How?

Run in a terminal:

$ ./pier.py

Open in a browser: http://localhost:9090/example1

Or via:

$ curl http://localhost:9090/example1

Options

$ ./pier.py -h
usage: pier.py [-h] [-d DIR] [-H HOST] [-P PORT]

pier - Python Interpreter Executing Remotely

optional arguments:
  -h, --help            show this help message and exit
  -d DIR, --dir DIR     directory containing python scripts (default: ./scripts/)
  -H HOST, --host HOST  host name (default: localhost)
  -P PORT, --port PORT  port number (default: 9090)