久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

        <bdo id='98oLo'></bdo><ul id='98oLo'></ul>
    1. <i id='98oLo'><tr id='98oLo'><dt id='98oLo'><q id='98oLo'><span id='98oLo'><b id='98oLo'><form id='98oLo'><ins id='98oLo'></ins><ul id='98oLo'></ul><sub id='98oLo'></sub></form><legend id='98oLo'></legend><bdo id='98oLo'><pre id='98oLo'><center id='98oLo'></center></pre></bdo></b><th id='98oLo'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='98oLo'><tfoot id='98oLo'></tfoot><dl id='98oLo'><fieldset id='98oLo'></fieldset></dl></div>

      1. <tfoot id='98oLo'></tfoot>
        <legend id='98oLo'><style id='98oLo'><dir id='98oLo'><q id='98oLo'></q></dir></style></legend>

      2. <small id='98oLo'></small><noframes id='98oLo'>

        如何獲取 Python 編譯時使用的選項列表?

        How to get the list of options that Python was compiled with?(如何獲取 Python 編譯時使用的選項列表?)
      3. <legend id='Wm8xS'><style id='Wm8xS'><dir id='Wm8xS'><q id='Wm8xS'></q></dir></style></legend>
      4. <small id='Wm8xS'></small><noframes id='Wm8xS'>

        <tfoot id='Wm8xS'></tfoot>
          <tbody id='Wm8xS'></tbody>

        • <bdo id='Wm8xS'></bdo><ul id='Wm8xS'></ul>
          • <i id='Wm8xS'><tr id='Wm8xS'><dt id='Wm8xS'><q id='Wm8xS'><span id='Wm8xS'><b id='Wm8xS'><form id='Wm8xS'><ins id='Wm8xS'></ins><ul id='Wm8xS'></ul><sub id='Wm8xS'></sub></form><legend id='Wm8xS'></legend><bdo id='Wm8xS'><pre id='Wm8xS'><center id='Wm8xS'></center></pre></bdo></b><th id='Wm8xS'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Wm8xS'><tfoot id='Wm8xS'></tfoot><dl id='Wm8xS'><fieldset id='Wm8xS'></fieldset></dl></div>

                  本文介紹了如何獲取 Python 編譯時使用的選項列表?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  您可以通過多種方式編譯 Python.我想知道我的 Python 是用哪些選項編譯的.

                  You can compile Python in various ways. I'd like to find out with which options my Python was compiled.

                  具體用例:我的 Python 是用 readline 編譯的嗎?我知道我可以通過import readline"看到這一點,但我想查看我的 Python 二進制文件的編譯設置列表.

                  Concrete use-case: was my Python compiled with readline? I know I can see this by doing "import readline", but I'd like to see a list of compilation setting for my Python binary.

                  我是指 Python 可執行文件,不是我自己編寫的源代碼.

                  I mean the Python executable and not source code written by myself.

                  推薦答案

                  有模塊可以查看系統配置

                  There is a module to see the system config

                  import sysconfig
                  print(sysconfig.get_config_vars())
                  

                  它還提供了一個接口來獲取單個變量.

                  It offers an interface to get individual variables as well.

                  sysconfig.get_config_var('HAVE_LIBREADLINE')
                  

                  也可以通過 shell 訪問:

                  It is also accessible via shell:

                  python3 -m sysconfig | less
                  

                  python2.7之前必須使用

                  before python2.7, you have to use

                  import distutils.sysconfig
                  print distutils.sysconfig.get_config_vars()
                  

                  這篇關于如何獲取 Python 編譯時使用的選項列表?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  python: Two modules and classes with the same name under different packages(python:不同包下同名的兩個模塊和類)
                  Configuring Python to use additional locations for site-packages(配置 Python 以使用站點包的其他位置)
                  How to structure python packages without repeating top level name for import(如何在不重復導入頂級名稱的情況下構造python包)
                  Install python packages on OpenShift(在 OpenShift 上安裝 python 包)
                  How to refresh sys.path?(如何刷新 sys.path?)
                  Distribute a Python package with a compiled dynamic shared library(分發帶有已編譯動態共享庫的 Python 包)
                  • <bdo id='LzH8B'></bdo><ul id='LzH8B'></ul>

                      <legend id='LzH8B'><style id='LzH8B'><dir id='LzH8B'><q id='LzH8B'></q></dir></style></legend>
                      • <i id='LzH8B'><tr id='LzH8B'><dt id='LzH8B'><q id='LzH8B'><span id='LzH8B'><b id='LzH8B'><form id='LzH8B'><ins id='LzH8B'></ins><ul id='LzH8B'></ul><sub id='LzH8B'></sub></form><legend id='LzH8B'></legend><bdo id='LzH8B'><pre id='LzH8B'><center id='LzH8B'></center></pre></bdo></b><th id='LzH8B'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='LzH8B'><tfoot id='LzH8B'></tfoot><dl id='LzH8B'><fieldset id='LzH8B'></fieldset></dl></div>
                          <tbody id='LzH8B'></tbody>

                        <tfoot id='LzH8B'></tfoot>

                            <small id='LzH8B'></small><noframes id='LzH8B'>

                            主站蜘蛛池模板: 黄色免费在线观看视频 | 一级黄色录像片 | 自拍偷拍欧美日韩 | 黄网免费 | 四虎成人影视 | 国产成人av一区二区三区在线观看 | 91亚洲国产成人久久精品网站 | 国产精品日韩欧美 | 天天综合天天做天天综合 | 色婷婷av一区二区三区之e本道 | 日韩欧美精品 | a级成人毛片 | 日韩福利视频 | 狠狠操天天操 | 天天操天天看 | 国产h在线观看 | 激情播播网 | 成人毛片在线播放 | 中文字幕在线日韩 | 91av免费| 国产欧美精品一区 | 免费看黄网| 国产香蕉av | 丁香久久| 理论片中文字幕 | 国产精品久久久久久久久借妻 | www99热| 国产理论视频 | 婷婷视频网 | 久久久久亚洲精品 | 亚洲综合成人网 | 日本天堂在线 | 在线观看黄| 国产精品成人一区 | 国产成人在线观看免费网站 | 中文在线字幕免费观 | 久久观看 | 黄色一级网站 | 国产精品乱码一区二区视频 | 日韩网站免费观看 | 久久精品一区二区三区四区五区 |