Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #42825

Re: Typing letters slowly using sys

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!198.186.194.249.MISMATCH!transit3.readnews.com!news-out.readnews.com!transit4.readnews.com!panix!gordon
From John Gordon <gordon@panix.com>
Newsgroups comp.lang.python
Subject Re: Typing letters slowly using sys
Date Fri, 5 Apr 2013 14:31:03 +0000 (UTC)
Organization PANIX Public Access Internet and UNIX, NYC
Lines 20
Message-ID <kjmn77$dmm$1@reader1.panix.com> (permalink)
References <44fa9565-c6cd-4a46-ad28-97417b403444@googlegroups.com>
NNTP-Posting-Host panix2.panix.com
X-Trace reader1.panix.com 1365172263 14038 166.84.1.2 (5 Apr 2013 14:31:03 GMT)
X-Complaints-To abuse@panix.com
NNTP-Posting-Date Fri, 5 Apr 2013 14:31:03 +0000 (UTC)
User-Agent nn/6.7.3
X-Received-Bytes 1487
Xref csiph.com comp.lang.python:42825

Show key headers only | View raw


In <44fa9565-c6cd-4a46-ad28-97417b403444@googlegroups.com> mattgraves7@gmail.com writes:

> dots = ('............')
> for x in dots:
>      sys.stdout.write(x)
>      sys.stdout.flush()
>      time.sleep(0.2)
> 				
> I cannot for the life of me figure out how to get the dots to appear on
> the same line as "Loading". Every way that I have attempted, the word
> "Loading" appears and then the dots appear on the next line. 

How are you printing the "Loading" text?  (It would have helped a lot to
show us that code.)

-- 
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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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