| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Original HTTPS Page] |
Discover what makes IPython powerful
IPython's intelligent tab completion is powered by Jedi, providing context-aware suggestions for:
In [1]: import numpy In [2]: numpy.array.[press TAB] append astype base byteswap ...
Built-in special commands for interactive computing:
In [1]: %timeit sum(range(1000)) 14.2 µs ± 245 ns per loop (mean ± std. dev. of 7 runs, 100,000 loops each) In [2]: %run my_script.py Script executed successfully In [3]: %matplotlib inline
Explore objects and code interactively:
In [1]: import numpy In [2]: numpy.array? Type: type String form: <class 'numpy.ndarray'> Docstring: ndarray(shape, dtype=float, buffer=None, offset=0, strides=None, order=None) In [3]: numpy.array?? Source code for numpy.ndarray...
Display rich output including:
Powerful command history with:
In [1]: x = 10 In [2]: y = 20 In [3]: x + y Out[3]: 30 In [4]: _ Out[4]: 30 In [5]: _ih ['x = 10', 'y = 20', 'x + y', '_', '_ih']
Seamlessly integrate shell commands:
In [1]: !ls In [2]: files = !ls *.py In [3]: len(files) Out[3]: 42 In [4]: %cd /tmp
IPython powers the Jupyter ecosystem:
| Back | FazBrowse Home | New Git URL |