File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,27 +4,23 @@ Time everything in IPython
44## Installation:
55
66```
7- %install_ext https://raw.github.com/cpcloud/ ipython-autotime/master/autotime.py
7+ $ pip install ipython-autotime
88```
99
1010## Examples
1111
1212``` python
13- In [1 ]: % install_ext https:// raw.github.com/ cpcloud/ ipython- autotime/ master/ autotime.py
14- Installed autotime.py. To use it, type :
15- % load_ext autotime
16-
17- In [2 ]: % load_ext autotime
13+ In [1 ]: % load_ext autotime
1814time: 1433692.87 s
1915
20- In [3 ]: x = 1
16+ In [2 ]: x = 1
2117time: 730.99 us
2218
23- In [4 ]: x + 2
24- Out[4 ]: 3
19+ In [3 ]: x + 2
20+ Out[3 ]: 3
2521time: 2.50 ms
2622
27- In [5 ]: x + ' '
23+ In [4 ]: x + ' '
2824-------------------------------------------------------------------------- -
2925TypeError Traceback (most recent call last)
3026< ipython- input - 5 - bde712cacec5> in < module> ()
You can’t perform that action at this time.
0 commit comments