#!/usr/bin/python #======================= # Import Modules #======================= # Future print function capabilities from __future__ import print_function # sys: for stdout print buffer flush import sys # time: for sleeping import time #-- Example status message code --# print("Doing some work", end='') # Loop from 0 to 59 for count in range(59): # Print a period '.' with no newline print('.', end='') # Flush the stdout buffer to display it immediately to the console sys.stdout.flush() # sleep for 1 second time.sleep(1) print("[COMPLETE]")