#!/usr/bin/env python import sys import time for i in range(10): sys.stdout.write('.') sys.stdout.flush() time.sleep(1)