如何在Notepad++執行python  (How to Execute a Python File in Notepad ++?)

開啟 Notepad++. 在選單點選  執行  -> 執行.. (F5).輸入:

C:\Python27\python.exe "$(FULL_CURRENT_PATH)"

然後存檔。並設定快速鍵:我是使用  Ctrl+F5

Note:假如你是 Python 3.4: 輸入 Python34取代 Python27

Note: Add -i if you want the command line window to stay open after the script has finished

arrow
arrow
    文章標籤
    notepad++ python
    全站熱搜

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