zoukankan      html  css  js  c++  java
  • python常用命令(持续) | Commonly used Python command list (con't)

    -----------------------------------------------------------------------------------------------------

    列出当前python环境下的所有modules

    在python shell/prompt.环境下

    help('modules')

    ----------------------------------------------------------------------------------------------------

    -----------------------------------------------------------------------------------------------------

    查看某一个module的具体版本,已pandas为例

    在python shell/prompt.环境下

    import pandas
    print(pandas.__version__)

    在python中每一个类都有类似__version__的静态属性的

    ----------------------------------------------------------------------------------------------------

    English Version

    -----------------------------------------------------------------------------------------------------

    List all modules (packages) that installed in current Python env

    Go to CMD, key in Python or iPython, open Python / iPython interface, then key in below 

    help('modules')

    ----------------------------------------------------------------------------------------------------

    -----------------------------------------------------------------------------------------------------

    Check version info of a module. 

    Go to CMD, key in Python or iPython, open Python / iPython interface, then key in below 

    import pandas
    print(pandas.__version__)

    There is several static attribute such as __version__ in every python class

    ----------------------------------------------------------------------------------------------------

  • 相关阅读:
    XAML
    诺基亚Lumia 800越狱教程
    Windows Phone常用控件
    Windows Phone数据存储
    Silverlight自定义鼠标
    [silverlight] silverlight3新增功能1:三维效果(透视转换)
    [silverlight] silverlight3新增功能2:WriteableBitmap
    另一种方法实现silverlight图片局部放大效果
    [Silverlight]简单实现DataGrid使用CheckBox选择行
    好用的模糊搜索下拉提示
  • 原文地址:https://www.cnblogs.com/wtang/p/7373621.html
Copyright © 2011-2022 走看看