Use the time module:
import time
def myfunc():
some code
while True:
myfunc()
|
|
温文尔雅的青蛙 · python subprocess模块详解 ...· 4 周前 · |
|
|
直爽的牛肉面 · python/openpyxl/DataVa ...· 3 周前 · |
|
|
长情的火锅 · python读取excel,获得下拉选中所有 ...· 3 周前 · |
|
|
勤奋的鸭蛋 · python - Set up of ...· 1 周前 · |
|
|
大力的长颈鹿 · python - Conda env ...· 1 周前 · |
|
|
坏坏的斑马 · 江苏省生态环境厅 部门预决算 ...· 2 年前 · |
|
|
高大的海龟 · 夫妻之间有话就说,憋心里做婚姻中的“哑巴”, ...· 2 年前 · |
|
|
瘦瘦的手电筒 · 神植觉醒的那天起,超神! - 🌈️包子漫畫· 2 年前 · |
|
|
瘦瘦的手电筒 · 神植觉醒的那天起,超神! - 🌈️包子漫畫 2 年前 |