print同时需要设置flush=True来动态显示
print("\r[{0}] {1} <- {2}".format(username,time,jdTimeFomat),end='',flush=True)