First, Ipython basic functions
1. Ipython is an interactive python command line
2. Installation and use
1 # Installation: Pip install Ipython 2 # use: Ipython is consistent with Python interpreter usage
Note: Readers who want to learn machine learning are strongly advised to install Anaconda (including NumPy, pandas, etc.)
Second, Ipython advanced features
1. Basic use
# -TAB key Auto-complete # -?: Introspection, Namespace search # -!: Execute system Command # -rich shortcut keys
2. Magic Command: Command starting with%
# %run: Execute file code # %paste: Execute clipboard code # %timeit: Evaluation run time # %pdb: Automatic commissioning
3, IPython Notebook
#using the command history#get input and output results#Catalog Labeling System#IPython Notebook##################In []: 3+2#out[28]: 5#In []: _#out[29]: 5#In [+]: __#out[30]: 5#In [to]: ___#out[31]: 5
4, Installation Jupyter
# pip Install Jupyter
Third, Ipython shortcut keys
Iv. Magic commands commonly used by Ipython
V. Ipython Debugger Commands
Data analysis using python: "IPython"