品易云推流 关闭
文章详情页
文章 > Python基础教程 > python behold库是什么?

python behold库是什么?

头像

十一

2021-03-06 18:09:074429浏览 · 0收藏 · 0评论

 

简介:

程序员必备的脚本调试技能。

环境:

Python2 以及Python3.没有其他依赖包。

安装:

pip install behold

实例应用:

from behold import Behold
letters = ['a', 'b', 'c', 'd']
for index, letter in enumerate(letters):
Behold().show('index', 'letter')

输出结果:

index: 0, letter: a
index: 1, letter: b
index: 2, letter: c
index: 3, letter: d

现在大家应该清楚明白behold库的基础用法,以及在实例操作过程中的使用了吧,那么就所学知识,带入项目,尝试吧。

(推荐操作系统:windows7系统、Python 3.9.1,DELL G3电脑。)

关注

关注公众号,随时随地在线学习

本教程部分素材来源于网络,版权问题联系站长!

底部广告图