Re: Printing dots in sequence ('...')

2007-05-23 Thread beertje
On May 23, 3:36 am, rzed <[EMAIL PROTECTED]> wrote: > "Tim Williams" <[EMAIL PROTECTED]> wrote innews:[EMAIL PROTECTED]: > > [...] > > > maybe this: (on Win32, don't know about *nix) > > > for x in range(10): > > print '.\b', > > better: > print '\b.', > > -- > rzed print '.\b' gives a

Re: Printing dots in sequence ('...')

2007-05-22 Thread rzed
"Tim Williams" <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: [...] > maybe this: (on Win32, don't know about *nix) > > for x in range(10): > print '.\b', better: print '\b.', -- rzed -- http://mail.python.org/mailman/listinfo/python-list

Re: Printing dots in sequence ('...')

2007-05-22 Thread Tim Williams
On 22 May 2007 01:02:31 -0700, beertje <[EMAIL PROTECTED]> wrote: > This is a very newbie question for my first post, perhaps > appropriately. > > I want to print '' gradually, as a progress indicator. I have a > for-loop that every 10 steps executes: > print '.', > > This results in something

Re: Printing dots in sequence ('...')

2007-05-22 Thread Larry Bates
beertje wrote: > This is a very newbie question for my first post, perhaps > appropriately. > > I want to print '' gradually, as a progress indicator. I have a > for-loop that every 10 steps executes: > print '.', > > This results in something like 'Loading. . . .', whereas I want > 'Loading.

Re: Printing dots in sequence ('...')

2007-05-22 Thread Larry Bates
beertje wrote: > This is a very newbie question for my first post, perhaps > appropriately. > > I want to print '' gradually, as a progress indicator. I have a > for-loop that every 10 steps executes: > print '.', > > This results in something like 'Loading. . . .', whereas I want > 'Loading.

Re: Printing dots in sequence ('...')

2007-05-22 Thread beertje
Perfect, thanks :) -- http://mail.python.org/mailman/listinfo/python-list

Re: Printing dots in sequence ('...')

2007-05-22 Thread Peter Otten
beertje wrote: > This is a very newbie question for my first post, perhaps > appropriately. > > I want to print '' gradually, as a progress indicator. I have a > for-loop that every 10 steps executes: > print '.', > > This results in something like 'Loading. . . .', whereas I want > 'Loading

Printing dots in sequence ('...')

2007-05-22 Thread beertje
This is a very newbie question for my first post, perhaps appropriately. I want to print '' gradually, as a progress indicator. I have a for-loop that every 10 steps executes: print '.', This results in something like 'Loading. . . .', whereas I want 'Loading' A pet peeve, I can't for th