久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      python導(dǎo)入模塊的關(guān)鍵字是什么

      python導(dǎo)入模塊的關(guān)鍵字是什么

      使用 Python 進行編程時,有些功能沒必須自己實現(xiàn),可以借助 Python 現(xiàn)有的標準庫或者其他人提供的第三方庫。

      Python中導(dǎo)入模塊的關(guān)鍵字是import。

      Python 模塊(Module),是一個 Python 文件,以 .py 結(jié)尾,包含了 Python 對象定義和Python語句。模塊讓你能夠有邏輯地組織你的 Python 代碼段。

      模塊定義好后,我們可以使用 import 語句來引入模塊,語法如下:

      import module1[, module2[,... moduleN]]

      示例:

      # 導(dǎo)入sys整個模塊 import sys # 使用sys模塊名作為前綴來訪問模塊中的成員 print(sys.argv[0])

      推薦:Python圖文教程

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號