示例代碼如下:
如果在eclipse中直接運作報如下錯誤:
java.io.ioexception: cannot run program "python": createprocess error=2
則配置run configuration中的enviroment,增加path變量,見下圖:

示例代碼如下:
如果在eclipse中直接運作報如下錯誤:
java.io.ioexception: cannot run program "python": createprocess error=2
則配置run configuration中的enviroment,增加path變量,見下圖: