Simon Gerber wrote: > I got it working with > > while ip_addr == "": > sys.stdout.writelines("...") > sys.stdout.flush() > time.sleep(0.5) > ip_addr = get_addr() > if ip_addr != '': > ...
You should use sys.stdout.write(), not writelines(). writelines() expects a sequence of strings so what you wrote is roughly equivalent to sys.stdout.write(".") sys.stdout.write(".") sys.stdout.write(".") Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor