local_time = time.localtime() # 取得時間元組timeString = time.strftime("%Y/%m/%d %H:%M", local_time) # 轉成想要的字串形式print(timeString).
確定! 回上一頁