elif os.name in ("nt", "dos", "ce"):
# emacs/Windows
What`s the right statement here?
--
http://mail.python.org/mailman/listinfo/python-list
I have tested it under windows python console, and it works.
Thank you very much.
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 15 Sep 2005 21:18:33 -0700, A. L. wrote:
> In Python interactive mode, is there some function acting like 'clear'
> command in bash? Could somebody here give some advice?
>
> Thanks in advance.
Something like this may help:
def clearscreen(numlines=100):
"""Clear the console.
Thank you very much. I have tested it under Cygwin, and that works. But
it fails under Windows Python Shell Mode.
--
http://mail.python.org/mailman/listinfo/python-list
A. L. wrote:
>In Python interactive mode, is there some function acting like 'clear'
>command in bash? Could somebody here give some advice?
>
>
Under Linux/UNIX system (on x86 at least) you can use the CTRL+L
combination to clear the screen.
I do not now similar for Windows and MACs.
Les
In Python interactive mode, is there some function acting like 'clear'
command in bash? Could somebody here give some advice?
Thanks in advance.
--
http://mail.python.org/mailman/listinfo/python-list