Tried many suggestions to clear console and variables in Spyder using code not CTRL+L but they do not work.
wondering any effective suggestion what
The simplest way that I have come across to clear the Spyder console programmatically is:
print("\033[H\033[J")
From Link and suggested by Denis Rasulev .
print("\014")
Also works.