close

1 、首先下載並依序安裝下列四個檔案:

       (1) Python 3.12     (2) PyDev 1.6.1    (3) Java SDK 6.21     (4) Eclipse Classic 3.6.0        

2、將PyDev安裝到Eclipse的方法有下列兩種方法:

     2-1- 將上述的PyDev 1.6.1.zip直接解壓縮至Eclipse的檔案位址進行覆蓋。

     2-2- 線上更新的方式:

         2-2.1 - Help -> Install New Software

            install-1.jpg

       2-2.2 一 Select Download File:

            install-2.jpg

       2-2.3 一 在同意相關的license後,將進行線上安裝的畫面:

            install-3.jpg

3、設定Python Interpreters:

     3-1 一 Windows -> Preferences

      interpreters-1.jpg

     3-2 一 設定Python Path

      interpreters-2.jpg

  4、設定Program Arguments:Run -> Run Configurations or Debug Configurations

      program_arguments.jpg

  5、新增Library路徑:

     library.jpg

  6、建立Python專案流程:

     6.1 一 設定Python專案目錄

      code-1.jpg

     6.2 一 建立Python專案

      code-2.jpg

     code-3.jpg

      6.3 一 設定Python專案名稱

     code-4.jpg

     6.4 一 建案Python檔案  

     code-5.jpg

    6.5 一 設定Python檔案名稱

    code-6.jpg

    6.6 一 正常模式執行程式:Ctrl + F11

    code-7.jpg

    6.7 一 Debug模式執行程式:F11

    code-8.jpg

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 yunjuihuang 的頭像
    yunjuihuang

    瑞の資訊備忘錄

    yunjuihuang 發表在 痞客邦 留言(0) 人氣()