1,使用pip安装
pip install birdseye
如果安装失败,可能是需要升级pip。
2,Birdseye的使用
首先导入eye,然后在函数面前添加eye装饰器
#coding:utf-8
from birdseye import eye
@eye
def add(a:int ,b:int):
print(a+b)
在调用完函数后,在python文件目录下打开命令终端,启动Biedseye的web服务:
python -m birdseye
打开web地址:http://127.0.0.1:7777/