久久久久久久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 可執(zhí)行文件,不是我自己編寫的源代碼.

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

                  推薦答案

                  有模塊可以查看系統(tǒng)配置

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

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

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

                  相關(guān)文檔推薦

                  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(如何在不重復導入頂級名稱的情況下構(gòu)造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(分發(fā)帶有已編譯動態(tài)共享庫的 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'>

                            主站蜘蛛池模板: 美女福利视频一区 | 欧美午夜影院 | 日本黄色片免费在线观看 | 亚洲一区二区三区在线视频 | 亚洲欧美激情视频 | www.久草.com | 国产精品精品久久久 | 亚洲 欧美 日韩在线 | 欧美vide| 99精品电影 | 亚洲精品视频免费 | 成人免费视频在线观看 | 久久久久久成人 | 亚洲三区视频 | 中文字幕韩在线第一页 | 久久国产精品久久国产精品 | 国产在线永久免费 | 欧美欧美欧美 | 欧美精品网 | 伊色综合久久之综合久久 | 欧美一级久久精品 | 亚洲精品一区二区三区丝袜 | 亚洲精品在线免费 | 欧美日韩精品 | 亚洲大片| 国产精品久久国产精品久久 | 色婷婷亚洲一区二区三区 | 精品国产欧美一区二区三区成人 | www.日本国产 | 久久九精品 | 国产激情视频在线免费观看 | 天天影视亚洲综合网 | 亚洲一区二区视频 | 午夜精品在线观看 | 日韩中文视频 | 五月天婷婷综合 | 成人免费视频观看 | 久草久| 亚洲精品一区二区 | 男人的天堂在线视频 | 噜噜噜噜狠狠狠7777视频 |