On 11/6/05, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
Ivan Shevanski wrote

> I know there is a way to do this, but google doesn't seem to want to find it
> =) There is a command to clear the output screen right?

no, because "output screen" isn't a well-defined concept on modern
operating systems.  the following works in many cases:

    import os
    if os.name == "nt":
        os.system("cls")
    else:
        os.system("clear")

</F>



--
http://mail.python.org/mailman/listinfo/python-list
That seems to work just fine.  Thanks Fredrik!



-Ivan
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to