On Wed, Nov 7, 2018 at 1:17 PM Alan Gauld via Tutor <tutor@python.org> wrote:
> In Python 3 there are parameters to print()
>
> while someProcess():
>    time.sleep(1)
>    print('.', end='', sep='')   # no newline and no spaces

You'll also want `flush=True` here to avoid having your dots buffered
until end-of-line.

-- 
Zach
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to