[Tutor] re clear screen

kevin parks kp8@mac.com
Mon Nov 11 10:11:09 2002


> import os
> os.system("cls")
>
> UNIX:
> os.system("clear")
>
> So for portability:
> if os.platform == some_platform:
> 	etc...
> else: print '\n'*24

Wow on M$ it's cls and on UNIX clear? How unbelievably unpythonesque. 
It is the first thing i've ever seen in python that i could say was 
truly stupid. Guido should get that time machine revved up and quickly 
change one of them so that they are both the same. I guess that this 
was done to keep python from being absolutely perfect. Sorta like Greta 
Garbo's feet.

-kp--