第三方模块的安装与使用

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)

运行结果:
哈哈————————
哈哈————————
哈哈————————
哈哈————————
哈哈————————
。。。。。。(还要不少)