<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ### 4.4.3 標準庫模塊 應用程序要導入的模塊大多來自 Python 語言提供的標準庫。Python 標準庫實現了很多 常見功能(如操作系統功能、GUI 構建、網絡與互聯網編程等),對應用程序設計提供了強 大的支持。標準庫并不是 Python 語言本身的一部分,而是由專業程序員預先編好并隨語言 提供給用戶使用的。Python 的標準安裝都會自動安裝標準庫。 如果想了解隨著 Python 安裝的標準庫中有哪些模塊,可以使用 Python 的聯機幫助命令。 在 Python 解釋器提示符下鍵入 help(),可以進入聯機幫助環境: ``` >>> help() Welcome to Python 2.7! This is the online help utility. ...... help> ``` 省略號是 Python 打印的一些說明信息。help&gt;是幫助系統的提示符,可以在這個提示符下 輸入想了解的主題,Python 就會給出有關主題的信息。例如輸入 modules 可以得到安裝的 所有模塊的信息: ``` help> modules Please wait a moment while I gather a list of all available modules... AppClass1 asynchat ftplib roller ...... help> ``` 輸入某個模塊的名字可以獲得該模塊的信息,例如: ``` help> math Help on built-in module math: NAME math FILE (built-in) DESCRIPTION This module is always available. It provides access to the mathematical functions defined by the C standard. FUNCTIONS acos(...) acos(x) Return the arc cosine (measured in radians) of x. ``` 從系統顯示的信息中我們了解到 math 模塊中 acos 函數的意義和用法。 在 Python 中,要想編寫有用的或有趣的應用程序,往往并不需要自己寫很多代碼,標 準庫中有大量的現成代碼可用。讀者需要時可自行查閱有關 Python 標準模塊的資料,以求 事半功倍。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看