collection of useful python functions
Project description
ssutils
collection of useful python functions
Screenwriter
Use Screenwriter to prefix screen prints Examples
1 - Default prefix
from ssutils import Screenwriter
sw = Screenwriter ()
sw.echo ('my output')
Output:
2019-07-26 11:16:04 my output
2 - Date Time parts in prefix
from ssutils import Screenwriter
sw = Screenwriter ('%Y-%m-%d %H:%M:%S.%f ')
sw.echo ('my output')
Output:
2019-07-26 11:16:04 my output
For format options, see http://strftime.org/
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
ssutils-0.0.1.tar.gz
(1.5 kB
view hashes)