block-stdout 0.3

Last updated:

0 purchases

block-stdout 0.3 Image
block-stdout 0.3 Images
Add to Cart

Description:

blockstdout 0.3

Block Stdout
A context manager that blocks the standard output when wrapped around print statements.
Installation
python -m pip install block-stdout

Usage
from blockstdout import BlockPrint


def printer():
print('I will not be printed')

def tester():
print('I will be printed')
with BlockPrint():
printer()
print('I will also be printed')

if __name__ == '__main__':
tester()

Pypi Package

License & copyright
© Vignesh Rao
Licensed under the MIT License

License:

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

Customer Reviews

There are no reviews.