第三方模塊的安裝與使用

1、第三方模塊的安裝ide

pip install 模塊名code

 

 

2、第三方模塊的使用blog

import 模塊名ip

import schedule
import time

def job():
    print('哈哈————————')

schedule.every(3).seconds.do(job)

while True:
    schedule.run_pending()
    time.sleep(1)

運行結果:
哈哈————————
哈哈————————
哈哈————————
哈哈————————
哈哈————————
。。。。。。(還要不少)
相關文章
相關標籤/搜索