DOKK / manpages / debian 10 / python-rfoo / rfoo-rconsole.1.en
RCONSOLE(1) User Commands RCONSOLE(1)

rfoo-rconsole - remote Python console with auto completion, which can be used to inspect and modify the namespace of a running script.

Start remote console:

rfoo-rconsole [-h] [-pPORT]

-h, --help Print this help.

-pPORT Set PORT (54321 by default).

To invoke it in a Python script do:

from rfoo.utils import rconsole

rconsole.spawn_server()

The rconsole listener started with rfoo.utils.rconsole.spawn_server() will accept any local connection and may therefore be insecure to use in shared hosting or similar environments!

March 2012 Debian