Anonymous user
Terminal control/Clear the screen: Difference between revisions
Terminal control/Clear the screen (view source)
Revision as of 21:38, 20 October 2010
, 13 years agoAdded python
(Added PicoLisp) |
(Added python) |
||
Line 33:
Clears the whole console content using the current background color.
<lang PureBasic>ClearConsole()</lang>
=={{header|Python}}==
{{works with|Python|2.6}}
{{works with|Ubuntu|10.10}}
To clear the screen on windows, replace 'clear' with 'cls'
<lang python>
import os
os.system('clear')
</lang>
=={{header|Retro}}==
|