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 py2

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page