Single line status updates with minimal update sequences.
Project description
Single line status updates with minimal update sequences.
This is available as an output mode in cs.logutils.
Example:
upd = Upd(sys.stdout)
...
upd.out('status line text: position = %d', position_value)
...
upd.nl('an informational line')
...
upd.out('new status text')
Function cleanupAtExit()
Cleanup function called at programme exit to clear the status line.
Class Upd
A class for maintaining a regularly updated status line.
Function upd_for(stream)
Factory for Upd singletons keyed by the id of their backend.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cs.upd-20181108.tar.gz
(3.1 kB
view hashes)