question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot clear console

See original GitHub issue

Description of your problem

What steps will reproduce the problem?

  1. Open Spyder
  2. Execute a command
  3. Right click on the console and choose “clear the console”

What is the expected output? What do you see instead? The console should be cleared but it isn’t, all the previous commands still stay visible in the console. A “%clear” is issued instead.

Please provide any additional information below

Versions and main components

  • Spyder Version: 2.3.8
  • Python Version: 2.7
  • Operating system: Win8 64-bit

Dependencies

Please go to the menu entry Help > Optional Dependencies (or Help > Dependencies), press the button Copy to clipboard and paste the contents below: IPython >=1.0 : 4.1.2 (OK) jedi >=0.8.1;<0.9.0: 0.9.0 (NOK) matplotlib >=1.0 : 1.5.1 (OK) pandas >=0.13.1 : 0.18.0 (OK) pep8 >=0.6 : 1.7.0 (OK) pyflakes >=0.5.0 : 1.1.0 (OK) pygments >=1.6 : 2.1.1 (OK) pylint >=0.25 : None (NOK) qtconsole >=4.0 : 4.2.0 (OK) rope >=0.9.2 : 0.9.4 (OK) sphinx >=0.6.6 : 1.3.5 (OK) sympy >=0.7.3 : 1.0 (OK) zmq >=2.1.11 : 15.2.0 (OK)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
ccordoba12commented, Jul 7, 2017

This was fixed in jupyter/qtconsole#225 and it will be part of qtconsole 4.3.1.

0reactions
ccordoba12commented, May 23, 2017

We’ll fix it for Spyder 3.2.

Read more comments on GitHub >

github_iconTop Results From Across the Web

console.clear() - Web APIs - MDN Web Docs
The console.clear() method clears the console if the console allows it. A graphical console, like those running on browsers, will allow it; ...
Read more >
clear javascript console in Google Chrome - Stack Overflow
(console is cleared by some web page, end user can't access error information). one possible workaround: in the console type window.clear = clear...
Read more >
How do I clear the screen in Terminal (no CLS)
cls is for Windows Command Prompt. For *nix-based systems like macOS, use the command clear. If you're using the built-in Terminal app:.
Read more >
How to really clear the terminal? - Ask Ubuntu
Yes, the command you're looking for is reset. In contrast to clear , or Ctrl + L , reset will actually completely re-initialise...
Read more >
"Terminal: Clear" not working as desired · Issue #75141 - GitHub
Steps to Reproduce: Run a python file using command palette >Python: Run file in terminal window; Terminal shows the output. Now, clear the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found