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

    Jan 13, 2024 · 115 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 …

  2. 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)?

  3. python - Clear screen in shell - Stack Overflow

    How do you clear the screen in shell? I've seen ways like: import os os.system('cls') This just opens the Windows cmd, clears the screen and closes but I want the shell window to be …

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

    510 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 …

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

    Jan 27, 2011 · I'm trying to write a program in Python, but I don't know how to clear the screen. I use both Windows and Linux, and I use commands to clear the screen in those, but I don't …

  6. python - Clearing the screen in IPython - Stack Overflow

    Aug 1, 2011 · Is there a command in IPython to clear the screen? EDIT: As @Saher mentions below, I can clean the screen using import os; os.system('CLS'), but is there a way to do this …

  7. shell - Python - Clearing the terminal screen more elegantly

    Dec 21, 2015 · I know you can clear the shell by executing clear using os.system, but this way seems quite messy to me since the commands are logged in the history and are litterally …

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

    Jun 29, 2019 · It's built-in on Python for Linux, etl. al, but for Windows, you'll need to install the windows-curses library. Once you've done that, you can can use the .clear() method: from …

  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. python - how to clear the screen of the idle3 (python3 shell)?

    Jan 7, 2017 · how to clear the screen of the idle3 (python3 shell)? Asked 8 years, 5 months ago Modified 7 years, 2 months ago Viewed 725 times

Refresh