About 28,700 results
Open links in new tab
  1. Is there a way to clear Python's IDLE window? - Stack Overflow

    The "cls" and "clear" are commands which will clear a terminal (ie a DOS prompt, or terminal window). From your screenshot, you are using the shell within IDLE, which won't be affected …

  2. python - How can I clear the interpreter console? - Stack Overflow

    512 Like most Python developers, I typically keep a console window open with the Python interpreter running to test commands, dir() stuff, help() stuff, etc. Like any console, after a …

  3. How to clear screen on python 3.6 IDLE? - Stack Overflow

    Apr 1, 2017 · How to clear screen on python 3.6 IDLE? [duplicate] Asked 8 years, 7 months ago Modified 8 years, 7 months ago Viewed 22k times

  4. python - How to clear the screen of ALL text in IDLE shell? - Stack ...

    Jun 29, 2019 · I want something that will erase all text on screen, so I can re-print the same line, but with the character moved one space. To be clear, the screen I want to erase is the one …

  5. python - Clearing the screen of IDLE interactive mode - Stack …

    Jun 30, 2020 · Can I clear the screen of IDLE interactive mode in Windows? I tried with the following code which fails to work: import os os.system('cls') The cls command works only in …

  6. python - Clear screen in shell - Stack Overflow

    Here's how to make your very own cls or clear command that will work without explicitly calling any function! We'll take advantage of the fact that the python console calls repr() to display …

  7. How to clear the screen in Python - Stack Overflow

    Jan 27, 2011 · Possible Duplicates: Clear the terminal in Python How can I clear the interpreter console? I'm trying to write a program in Python, but I don't know how to clear the screen.

  8. Clear the terminal in Python - Stack Overflow

    Does any standard "comes with batteries" method exist to clear the terminal screen programatically from a Python script, or do I have to use curses (the libraries, not the words)?

  9. Can I clear the screen in Python's IDLE Shell? - Stack Overflow

    Jun 12, 2023 · I'm trying to clear the screen in Python's IDLE shell, and so far haven't found any working mechanism to do so. How can this be done?

  10. How to clear Python Shell in IDLE - Stack Overflow

    By python shell, do you mean IDLE? Some quick googling suggests that IDLE doesn't have a clear screen even though lots of people seem to want one. If it's in a shell, then I'm surprised …