python学习(6)—— python-tools

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  
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值