ipdb模块源代码解读

本文介绍了ipdb这款Python调试模块,包括其基本介绍和安装方法。通过`pip install ipdb`进行安装,并通过`pip show ipdb`查看模块详细信息。源代码位于`site-packages`目录下,包含`ipdb`源代码文件夹和`ipdb-0.11-py3.5.egg-info`信息文件夹,分别存储模块源码和元数据。
摘要由CSDN通过智能技术生成

一、ipdb介绍
1.1 ipdb介绍
ipdb是一款调试代码的第三方模块

我想这一句话就给出了ipdb的所有信息了哇

1.2 ipdb安装
既然是第三方模块,那么就需要自己来安装,使用pip即可,在命令行输入:

如果你对python感兴趣,我这有个学习Python基地,里面有很多学习资料,感兴趣的+Q群:688244617

pip install ipdb

测试安装是否成功,在命令行输入:

python -m ipdb

如果安装成功则会输出以下内容:

usage: python -m ipdb [-c command] … pyfile [arg] …

Debug the Python program given by pyfile.

Initial commands are read from .pdbrc files in your home directory
and in the current directory, if they exist. Commands supplied with
-c are executed after commands from .pdbrc files.

To let the script run until an exception occurs, use “-c continue”.
To let the script run

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值