Skip to content

Commit 23963fc

Browse files
Amit Upadhyaycpcloud
authored andcommitted
updated Readme
1 parent a9c7cab commit 23963fc

1 file changed

Lines changed: 6 additions & 10 deletions

File tree

README.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff 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
1814
time: 1433692.87 s
1915

20-
In [3]: x = 1
16+
In [2]: x = 1
2117
time: 730.99 us
2218

23-
In [4]: x + 2
24-
Out[4]: 3
19+
In [3]: x + 2
20+
Out[3]: 3
2521
time: 2.50 ms
2622

27-
In [5]: x + ''
23+
In [4]: x + ''
2824
---------------------------------------------------------------------------
2925
TypeError Traceback (most recent call last)
3026
<ipython-input-5-bde712cacec5> in <module>()

0 commit comments

Comments
 (0)