Created
January 18, 2023 18:10
-
-
Save hamaguchi-amago/dba75b364627cf04888fc9ac66beca0e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
from datetime import datetime | |
print(f"1行目 {datetime.now()}") | |
time.sleep(1) | |
print(f"2行目 {datetime.now()}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ブログのサンプルとして作成しました。
【Python】sleep関数を使って処理を停止する・繰り返す
https://neko-py.com/python-sleep