Saturday 5 December 2015

How to clear screen in python

Import os module and call system method and pass ‘clear’ as argument.

>>> import os;
>>> os.system('clear')



Previous                                                 Next                                                 Home

No comments:

Post a Comment