Logo

上一個(gè)主題

The initialization of the sys.path module search path

下一個(gè)主題

ast --- 抽象語法樹

當(dāng)前頁面

  • 提交 Bug
  • 顯示源碼

導(dǎo)航

  • 索引
  • 模塊 |
  • 下一頁 |
  • 上一頁 |
  • python logo
  • Python ?
  • Python 3.12.0a0 文檔 ?
  • Python 標(biāo)準(zhǔn)庫 ?
  • Python 語言服務(wù)
  • |

Python 語言服務(wù)?

Python 提供了許多模塊來幫助使用 Python 語言。 這些模塊支持標(biāo)記化、解析、語法分析、字節(jié)碼反匯編以及各種其他工具。

這些模塊包括:

  • ast --- 抽象語法樹
    • 抽象文法
    • 節(jié)點(diǎn)類
      • 字面值
      • Variables
      • 表達(dá)式
        • Subscripting
        • Comprehensions
      • Statements
        • Imports
      • Control flow
      • Pattern matching
      • Function and class definitions
      • Async and await
    • ast 中的輔助函數(shù)
    • Compiler Flags
    • 命令行用法
  • symtable ——訪問編譯器的符號表
    • 符號表的生成
    • 符號表的查看
  • token --- 與Python解析樹一起使用的常量
  • keyword --- 檢驗(yàn)Python關(guān)鍵字
  • tokenize --- 對 Python 代碼使用的標(biāo)記解析器
    • 對輸入進(jìn)行解析標(biāo)記
    • 命令行用法
    • 例子
  • tabnanny --- 模糊縮進(jìn)檢測
  • pyclbr --- Python 模塊瀏覽器支持
    • Function 對象
    • Class 對象
  • py_compile --- 編譯 Python 源文件
    • 命令行接口
  • compileall --- Byte-compile Python libraries
    • Command-line use
    • Public functions
  • dis --- Python 字節(jié)碼反匯編器
    • 字節(jié)碼分析
    • 分析函數(shù)
    • Python字節(jié)碼說明
    • 操作碼集合
  • pickletools --- pickle 開發(fā)者工具集
    • 命令行語法
      • 命令行選項(xiàng)
    • 編程接口

上一個(gè)主題

The initialization of the sys.path module search path

下一個(gè)主題

ast --- 抽象語法樹

當(dāng)前頁面

  • 提交 Bug
  • 顯示源碼
?

導(dǎo)航

  • 索引
  • 模塊 |
  • 下一頁 |
  • 上一頁 |
  • python logo
  • Python ?
  • Python 3.12.0a0 文檔 ?
  • Python 標(biāo)準(zhǔn)庫 ?
  • Python 語言服務(wù)
  • |
? 版權(quán)所有 2001-2022, Python Software Foundation.
This page is licensed under the Python Software Foundation License Version 2.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.

The Python Software Foundation is a non-profit corporation. Please donate.

最后更新于 5月 26, 2022. Found a bug?
由 Sphinx 4.5.0創(chuàng)建。

感谢您访问我们的网站,您可能还对以下资源感兴趣:

青娱乐―极品视觉盛宴