Working with the Python REPL and IPython
Interactive exploration, tab completion, ?, %timeit, and shell commands in IPython.
The Interactive Workflow
The REPL (Read-Eval-Print Loop) lets you experiment line by line. IPython is a supercharged REPL with introspection, magics, and history, and it powers Jupyter kernels.
pip install ipython
ipythonDocstrings with a Single ?
Append ? to any object to see its docstring and signature, no need to open documentation in a browser.
import numpy as np
np.arange?
# shows signature and docstring for arangeAll lessons in this course
- Virtual Environments and pip
- Jupyter Notebooks for Data Science
- Python Data Types for Data Science
- Working with the Python REPL and IPython