0

How to clear python interpreter

27th Feb 2017, 6:29 PM
Chaitanya Kumar
Chaitanya Kumar - avatar
2 Answers
+ 3
print("\33[2J") Will not work in code playground because of limitations of input/output of distant virtual interpreter... and require to look at escape sequences to control terminal/console colors, cursor position, and such stuff if needed ( the previous command clear the screen, but the cursor is not moving at top left screen ^^ )
28th Feb 2017, 3:36 PM
visph
visph - avatar
0
In the Playground area? for the code side (left) press the reset button at the bottom. To clear the results of your code on the right, it resets each time you run the code .
27th Feb 2017, 7:34 PM
Nathaniel Triplett
Nathaniel Triplett - avatar