Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #42832
| From | John Gordon <gordon@panix.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Typing letters slowly using sys |
| Date | 2013-04-05 15:14 +0000 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <kjmpoc$kdl$1@reader1.panix.com> (permalink) |
| References | <44fa9565-c6cd-4a46-ad28-97417b403444@googlegroups.com> <b7680abc-4566-4aad-9426-9d80881899bd@googlegroups.com> |
In <b7680abc-4566-4aad-9426-9d80881899bd@googlegroups.com> Matt <mattgraves7@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@panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Typing letters slowly using sys mattgraves7@gmail.com - 2013-04-05 07:04 -0700
Re: Typing letters slowly using sys John Gordon <gordon@panix.com> - 2013-04-05 14:31 +0000
Re: Typing letters slowly using sys Grant Edwards <invalid@invalid.invalid> - 2013-04-05 14:50 +0000
Re: Typing letters slowly using sys Mitya Sirenef <msirenef@lightbird.net> - 2013-04-05 10:52 -0400
Re: Typing letters slowly using sys Matt <mattgraves7@gmail.com> - 2013-04-05 08:10 -0700
Re: Typing letters slowly using sys John Gordon <gordon@panix.com> - 2013-04-05 15:14 +0000
Re: Typing letters slowly using sys inq1ltd <inq1ltd@inqvista.com> - 2013-04-05 11:39 -0400
csiph-web