ITPub博客

首页 > IT职业 > IT图书 > python behold库是什么?

python behold库是什么?

IT图书 作者:farshow 时间:2021-09-11 10:03:35 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电脑。)

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/1159/viewspace-2831375/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-04-15

  • 博文量
    126
  • 访问量
    874