跳转到主要内容

在IPython中记录所有时间

项目描述

ipython-autotime

在IPython中记录所有时间

安装

$ pip install ipython-autotime

示例

In [1]: %load_ext autotime
time: 264 µs (started: 2020-12-15 11:44:36 +01:00)

In [2]: x = 1
time: 416 µs (started: 2020-12-15 11:44:45 +01:00)

In [3]: x / 0
---------------------------------------------------------------------------
ZeroDivisionError                         Traceback (most recent call last)
<ipython-input-3-034eb0c6102b> in <module>
----> 1 x/0

ZeroDivisionError: division by zero
time: 88.7 ms (started: 2020-12-15 11:44:53 +01:00)

想关闭它?

In [4]: %unload_ext autotime

项目详情


下载文件

为您的平台下载文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分发

ipython-autotime-0.3.2.tar.gz (6.3 kB 查看哈希值)

上传时间

构建分发

ipython_autotime-0.3.2-py2.py3-none-any.whl (7.0 kB 查看哈希值)

上传时间 Python 2 Python 3

由以下提供支持

AWSAWS云计算和安全赞助商DatadogDatadog监控FastlyFastlyCDNGoogleGoogle下载分析MicrosoftMicrosoftPSF赞助商PingdomPingdom监控SentrySentry错误日志StatusPageStatusPage状态页面