Tuesday, September 22, 2015

Python on Windows

想用 Windows 的命令行執行 Python 應該做兩件事

  1. Python 根目錄資料夾 e.g. C:\Python27 或是 C:\WinPython-64bit-2.7.9.1\python-2.7.9.amd64 把這個資料夾加入Windows的path環境變數
  2. 在Python根目錄找 Scripts 資料夾 加入path
    這樣可以在命令行執行常用的python執行檔像是 ipython, pygmentize, pylint等等

No comments :

Post a Comment