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

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                [TOC] <br> ### 一、下載Python3 官網地址:https://www.python.org ![](https://box.kancloud.cn/05acc07626b86911399290a8929759e2_988x388.jpg) python 環境還是比較容易安裝的,直接下一步下一步即可。唯一需要注意的是在安裝過程中可以勾選“Add Python 3.x to PATH”或者安裝后配置環境變量,安裝后如果在cmd中輸入python和pip命令,沒有報錯就證明安裝成功了。 #### 檢查python版本 ``` python -V ``` #### 檢查pip版本 ``` pip -V ``` 執行結果: ``` C:\Users\Administrator>python -V Python 3.5.2 C:\Users\Administrator>pip -V pip 9.0.1 from d:\360yp\vm\python35\lib\site-packages (python 3.5) ``` 在python中,pip是個非常重要,但是又特別簡單的包管理工具,后面開發過程中,安裝一些模塊的時候會經常用到,這里暫時先不解釋。 ### 二、開發IDE 我推薦新手使用 **pycharm** 學習python,正所謂*“工欲利其器必先利其器”* 官網:[https://www.jetbrains.com/pycharm/download/#section=windows](https://www.jetbrains.com/pycharm/download/#section=windows) ![](https://box.kancloud.cn/6f279eee5f9aa7e74790199f51641078_752x445.jpg) 下載安裝后,百度“pyCharm 破解”即可獲得激活方式 ### 三、巧用 Python 命令行 前面推薦新手使用pycharm進行編程,這里又介紹Python自帶的IDLE,有沒有矛盾? 當我們需要測試或調試某個內置函數的時候,使用交互命令行,有著特別方便的優勢哦。 **打開python 命令行:** 在cmd中直接輸入python即可 ```python C:\Users\Administrator>python Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> 1+1 2 >>> print("Hello world") Hello world >>> name="Milton" >>> name 'Milton' >>> print(name) Milton >>> dir(name) ['__add__', '__class__', '__contains__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__getnewargs __', '__gt__', '__hash__', '__init__', '__iter__', '__le__', '__len__', '__lt__', '__mod__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__r epr__', '__rmod__', '__rmul__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', 'capitalize', 'casefold', 'center', 'count', 'encode', 'endswith', ' expandtabs', 'find', 'format', 'format_map', 'index', 'isalnum', 'isalpha', 'isdecimal', 'isdigit', 'isidentifier', 'islower', 'isnumeric', 'isprintable', 'issp ace', 'istitle', 'isupper', 'join', 'ljust', 'lower', 'lstrip', 'maketrans', 'partition', 'replace', 'rfind', 'rindex', 'rjust', 'rpartition', 'rsplit', 'rstrip ', 'split', 'splitlines', 'startswith', 'strip', 'swapcase', 'title', 'translate', 'upper', 'zfill'] >>> ``` <hr style="margin-top:100px"> :-: ![](https://box.kancloud.cn/2ff0bc02ec938fef8b6dd7b7f16ee11d_258x258.jpg) ***微信掃一掃,關注“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>

                              哎呀哎呀视频在线观看