Skip to main content

Connect Python script to xterm

Project description

Usage

via-xterm script [argument ...]

How is this useful?

To simplify debugging of scripts, that use escape sequences/curses/urwid, in an IDE (e.g. PyCharm). Normally IDEs’ integrated consoles do not handle all the escape sequences, so one has to either live with that or use remote debugging.

via-xterm wraps the target script in a way that its stdin/stdout are connected to a new xterm -S instance, which handles the user interaction. Debugging the target script is possible, because it is run using compile() and exec() builtins.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

via-xterm-0.1.2.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

via_xterm-0.1.2-py2-none-any.whl (3.8 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page