Typing letters slowly using sys

John Gordon gordon at panix.com
Fri Apr 5 11:14:20 EDT 2013


In <b7680abc-4566-4aad-9426-9d80881899bd at googlegroups.com> Matt <mattgraves7 at gmail.com> writes:

> Sorry guys, I may have not been clear. The part I pasted does work, but
> I cannot figure out how to get that to print after the word "Loading". So
> it will instantly print "Loading", and then the "..........." will appear
> slowly

Have you tried:

    sys.stdout.write('Loading')
    sys.stdout.flush()

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon at panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"




More information about the Python-list mailing list