[Edu-sig] SYSTEM CLEAR in Python?

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Fri Nov 28 01:48:44 EST 2003



On Fri, 28 Nov 2003 abc-100036 at apc.edu.ph wrote:

> Anybody knows the syntax of system clear in Python?
> In visual c++, this is the code for system clear:
>     -> system("cls")

Hello,

If you have general Python learning questions, please feel free to ask on
Python-Tutor --- it's a mailing list dedicated for learning Python.

    http://mail.python.org/mailman/listinfo/tutor

Your question may not be so appropriate on edu-sig, so you may not get the
responses you desire.  Please be more selective next time.


Anyway, it sounds like you're looking for os.system().  For more
information, see:

    http://www.python.org/doc/lib/os-process.html#l2h-1519

If you have questions on how to use it, please feel free to ask on
Python-Tutor.  Good luck to you.




More information about the Edu-sig mailing list