Oct 10, 2019
python 2
pip install ipython[notebook] pip install numpy pip install matplotlib pip install seaborn Python3
pip3 install numpy pip3 install matplotlib pip3 install seaborn pip3 install --upgrade pip pip3 install jupyter jupyter notebook #启动jupter import numpy as np import pandas as pd import matplotlib.pyplot as plt from pandas import Series,DataFrame import csv import json from lxml.html import parse from urlib2 import urlopen from lxml import objectify from StringIO import StringIO import requests %matplotlib inline '''启用pylab模式,可以看图形效果''' jupyter notebook %pylab inline ipython --pylab IPython 基本 Tab 自动补齐 变量? 查看变量通用信息 函数名? 查看函数docstring 函数名?? 查看函数源代码 %run xxx.