If this intimidates you then read up on your options before returning to these System wide) and I have no intention of getting into that discussion here, so User site-packages directory, virtual environments or just installing There’s actually a multitude of ways to install Python packages (e.g. The capturer package is available on PyPI which means installation should be Here’s hoping it works as well in practice as it did during my testing :-). Initial release as version 1.0, however I still consider this a proof ofĬoncept because I don’t have extensive “production” experience using it yet. Weekend of extensive testing it seems to work fairly well so I’m publishing the Weekend, because I was curious to see if it could be done (reliably). The capturer package was developed as a proof of concept over the course of a Relays output to the terminal in real time Uses a pseudo terminal to emulate a real terminal Intercepts writes to low level file descriptors For usage instructions please refer to the documentation. It’s tested on Linux and Mac OS X and may work on other unixes butĭefinitely won’t work on Windows (due to the use of the platform dependent pty It’s currently tested on cPython 2.7, 3.5+ and PyPy Terminal in real time but is also available to the Python program forĪdditional processing. The capturer package makes it easy to capture the stdout and stderr streams
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |