python中打印所有的关键字_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")
總結
以上是生活随笔為你收集整理的python中打印所有的关键字_python 查看所有的关键字的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 和gdi绘图效率比较_堪称效率神器!5款
- 下一篇: python安卓附带文件_Android