minor changes
[imago.git] / commons.py
1 import os
2
3 def clear():
4     if os.name == 'posix':
5         os.system('clear')
6     elif os.name in ('ce', 'nt', 'dos'):
7         os.system('cls')