Il giorno ven, 21/07/2006 alle 15.33 +0200, Marco ha scritto: > Forse una funzione del genere che ho trovato facendo una ricerca ti > potrebbe essere utile. > > def clearscreen(numlines=100): > """Clear the console. > > numlines is an optional argument used only as a fall-back. > > """ > import os > if os.name == "posix": > # Unix/Linux/MacOS/BSD/etc > os.system('clear') > elif os.name > in ("nt", "dos", "ce"): > # DOS/Windows > os.system('CLS') > else: > # Fallback for other operating systems. > print '\n' * numlines > > > Ciao Marco M.
Grazie per l'aiuto lo provero stasera, spero che funzionera', ma mi aspettavo qualcosa di piu' semplice, un semplice comando. Ciao Mimmo
_______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python