Skip to content

Replacing the print function in python to limit the amount written to screen.

Notifications You must be signed in to change notification settings

vgm64/staggerprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

staggerprint

Replacing the print function in python to limit the amount written to screen.

Usage

from __future__ import print_function
from staggerprint import StaggerPrint
print = StaggerPrint()

Example

>>> # Print out the current time as fast as you can!
>>> import time
>>> start = time.time()
>>> while time.time() - start < 3:
>>>   print(time.time())
1404765695.35
1404765695.35
1404765695.35
1404765695.35
1404765695.35
1404765695.35
1404765695.35
1404765695.35
1404765695.35
1404765695.35
... stdout truncated for one second...
1404765696.35
1404765696.35
1404765696.35
# And so forth...

About

Replacing the print function in python to limit the amount written to screen.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages