py3實現單行刷新顯示

# coding=utf-8 import time count=0 try: while True: char_sets=['\\','|','/','-'] msg='[%s] is testing' % char_sets[count % 4] # print(" %s is testing",%(chart_sets[count%4])) print("\r"+msg,
相關文章
相關標籤/搜索