Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialRachel Harif
323 PointsHow to clear the console in workspace?
This is probably a newbie question, but I'm trying to clear out the console in workspace so I can have a fresh page to run my programs. Is there a way to clear the console from whatever I was doing earlier in order to keep my workspace fresh?
7 Answers
Kenneth Love
Treehouse Guest TeacherYou'll have to exit the Python interpreter, if you haven't already (exit()
) and then, like Shawn Anderton said, clear
and press return/enter in the console.
ernestmurewa
3,889 PointsCtrl + L
Shawn Anderton
24,124 Pointstype clear in the console.
James demby
10,296 PointsThanks! very helpful Mr. Love
Rachel Harif
323 PointsThank you!
Aaron Smith
1,851 Pointsthanks!
Gonzalo Torres del Fierro
Courses Plus Student 16,751 Pointshow may clear the console when i´m using the repl?
fdimas
10,098 Pointsenter "quit"
thomas shepard
278 Pointsthomas shepard
278 Pointstreehouse:~/workspace$ python
Python 3.6.4 (default, Mar 6 2019, 21:22:09)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.