01-python-tools
# 使用 whos 查看当前的变量空间:
a = 3
b = list([1,2,3,4,5])
%whos
Variable Type Data/Info
----------------------------
a int 3
b list n=5
# 使用 reset 重置当前变量空间:
%reset -f
%whos
Interactive namespace is empty.
#查看 conda 的信息:
!conda info
Current conda install:
platform : win-64
conda version : 4.3.21
conda is private : False
conda-env version : 4.3.21
conda-build version : not installed
python version : 3.6.1.final.0
requests version : 2.14.2
root environment : D:\software\Anaconda\anaconda (writable)
default environment : D:\software\Anaconda\anaconda
envs directories : D:\software\Anaconda\anaconda\envs
C:\Users\吴旭琴\AppData\Local\conda\conda\envs
C:\Users\吴旭琴\.conda\envs
package cache : D:\software\Anaconda\anaconda\pkgs
C:\Users\吴旭琴\AppData\Local\conda\conda\pkgs
channel URLs : https://repo.continuum.io/pkgs/free/win-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/r/win-64
https://repo.continuum.io/pkgs/r/noarch
https://repo.continuum.io/pkgs/pro/win-64
https://repo.continuum.io/pkgs/pro/noarch
https://repo.continuum.io/pkgs/msys2/win-64
https://repo.continuum.io/pkgs/msys2/noarch
config file : None
netrc file : None
offline mode : False
user-agent : conda/4.3.21 requests/2.14.2 CPython/3.6.1 Windows/10 Windows/10.0.17134
administrator : False
#查看已经安装好的python第三方工具包
!conda list
# packages in environment at D:\software\Anaconda\anaconda:
#
_license 1.1 py36_1
alabaster 0.7.10 py36_0
anaconda 4.4.0 np112py36_0