how to create a spinning command line cursor using python?,sys.stdout.write('\x08')