Balík: python3-wurlitzer (3.0.3-1)
Odkazy pre python3-wurlitzer
Zdroje Debian:
Stiahnuť zdrojový balík wurlitzer:
Správcovia:
- Debian Python Team (Stránka QA)
- Alexandre Marie (Stránka QA)
- Picca Frédéric-Emmanuel (Stránka QA)
- Julian Gilbey (Stránka QA)
Externé zdroje:
- Domovská stránka [github.com]
Podobné balíky:
Capture C-level output in context managers
A common task in Python (especially while testing or debugging) is to redirect sys.stdout to a stream or a file while executing some piece of code. However, simply "redirecting stdout" is sometimes not as easy as one would expect. In particular, things become interesting when you want C code running within your Python process (including, but not limited to, Python modules implemented as C extensions) to also have its stdout redirected according to your wish. This turns out to be tricky and leads us into the interesting world of file descriptors, buffers and system calls.
This package supports redirecting this output in a straightforward way using a context manager.
Ostatné balíky súvisiace s balíkom python3-wurlitzer
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
Stiahnuť python3-wurlitzer
Architektúra | Veľkosť balíka | Nainštalovaná veľkosť | Súbory |
---|---|---|---|
all | 11.8 kB | 40.0 kB | [zoznam súborov] |