Jump to content

Terminal control/Clear the screen: Difference between revisions

Added 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}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.