python - remove and replace printed items,sys.stdout.write('\x1b[K')