zoukankan      html  css  js  c++  java
  • python 查看所有的关键字

    一 查看所有的关键字:help("keywords")

    复制代码
    Here is a list of the Python keywords.  Enter any keyword to get more help.

    and                 elif                import              return
    as                  else                in                  try
    assert              except              is                  while
    break               finally             lambda              with
    class               for                 not                 yield
    continue            from                or
    def                 global              pass
    del                 if                  raise
    复制代码

    二 其他

    查看python所有的modules:help("modules")

    单看python所有的modules中包含指定字符串的modules: help("modules yourstr")

    查看python中常见的topics: help("topics")

    查看python标准库中的module:import os.path + help("os.path")

    查看python内置的类型:help("list")

    查看python类型的成员方法:help("str.find") 

    查看python内置函数:help("open")

  • 相关阅读:
    OCP-1Z0-053-V12.02-655题
    OCP-1Z0-053-V12.02-656题
    OCP-1Z0-053-V12.02-639题
    EXCEL文件打开缓慢的问题解决
    IOCP底层,支持超过15000个连接
    OCP-1Z0-053-V12.02-340题
    OCP-1Z0-053-V12.02-338题
    OCP-1Z0-053-V12.02-336题
    OCP-1Z0-053-V12.02-334题
    OCP-1Z0-053-V12.02-333题
  • 原文地址:https://www.cnblogs.com/ltz150/p/7358023.html
Copyright © 2011-2022 走看看