This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
Printr/printr/simplePrintr.py
2015-09-26 14:04:41 +01:00

11 lines
No EOL
222 B
Python

class SimplePrintr():
@classmethod
def write(string, commit=False):
if commit:
print(string)
else:
print(string, end='\r')
@classmethod
def commit():
print()