Python for Web Interface
There are five keywords to send Python commands to the web interface:
python (synchronous):
As soon as the command has finished, a blank webpage is returned.
Example: http://localhost:8888/python?value=getFov()
pythonr (synchronous):
Same as python, but returns a webpage with true or false depending on whether the execution was successful or not.
Example: http://localhost:8888/pythonr?value=getFov()
pythoneval (synchronous):
Same as python, but returns a webpage with the return value of the command.
Example: http://localhost:8888/pythoneval?value=getFov()
pythonasync (asynchronous):
An empty webpage is returned immediately. The command is put into a queue and will be executed as soon as possible.
Example: http://localhost:8888/pythonasync?value=getFov()
pythonasyncr (asynchronous):
Same as pythonasync, but returns a webpage with true.