Skip to content

Will-Bee/printBlock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

PrintBlock

Enables and disables printing out in python

Just copy-paste it to start of your code and enjoy!

printBlock(True) to block all prints bellow

printBlock(False) to enable printing again

print("okay")

printBlock(True)

print("This is not printing")
print("this is not printing too")

printBlock(False)

print("This is printing")

By Will-Bee

About

Enable and disable printing in python

Resources

Stars

Watchers

Forks

Languages