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")

  • 相关阅读:
    vue生命周期钩子函数
    mongodb window安装配置
    git 添加远程仓
    webpack + vue + node 打造单页面(入门篇)
    git 命令
    javascript 利用FileReader和滤镜上传图片预览
    javascript 一些特殊的字符运算
    Es6 Symbol.iterator
    配置 github 上的程序
    Redis 的数据类型
  • 原文地址:https://www.cnblogs.com/ltz150/p/7358023.html
Copyright © 2011-2022 走看看