Je suppose qu'un truc de ce genre devrait "faire la rue Michel":
import sys,time,os
sys.stdout.write("downloading kernel.3.0.0 from IPoT ")
sys.stdout.flush()
for i in range(10):
sys.stdout.write(".")
sys.stdout.flush()
time.sleep(0.1)
sys.stdout.write( "".join( [" [OK]", os.linesep] ) )
sys.stdout.flush()
print "You can proceed with installation."
[^] # Re: heu...
Posté par Sebastien . En réponse au message retour chariot. Évalué à 1.
import sys,time,os sys.stdout.write("downloading kernel.3.0.0 from IPoT ") sys.stdout.flush() for i in range(10): sys.stdout.write(".") sys.stdout.flush() time.sleep(0.1) sys.stdout.write( "".join( [" [OK]", os.linesep] ) ) sys.stdout.flush() print "You can proceed with installation."