unstdio 0.0.4

Creator: bradpython12

Last updated:

0 purchases

unstdio 0.0.4 Image
unstdio 0.0.4 Images

Languages

Categories

Add to Cart

Description:

unstdio 0.0.4

github |
PyPi |
ReadTheDocs
unstdio
manipulate stdio
from unstdio.unstdio import Unstdio
from unstdio.handlers import Out
from unstdio.formats import DictFormatter
import io

with Unstdio(stdout=Out(frmt=DictFormatter())) as unstdio:
print("{Hello World!}") # out to Unstdio instance
print(isinstance(unstdio.stdout, io.StringIO))
print(unstdio.stdout.getvalue()) # out to system stdout

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.