[問題] 在mingw中使用python

看板Python作者 (nahgnimiast)時間13年前 (2012/02/01 21:24), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/1
目前碰到一個問題 linux上的py檔,其中搜尋路徑, 是用'/'為根目錄,但是在mingw中使用 python時,路徑是window的寫法,所以無 法正常執行。 請問現在我是應該修改該py檔,還是有mingw 專用的python? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 122.126.96.145

02/02 14:39, , 1F
你該用os.path
02/02 14:39, 1F
文章代碼(AID): #1FAJpypF (Python)
文章代碼(AID): #1FAJpypF (Python)