python 如何使用相對路徑. 2022-06-09. 1.相對路徑. windows '.\'表示當前路徑. with open(r'.\db\123.txt','w',encoding='utf-8') as f: f.write('abc') 2.絕對路徑.
確定! 回上一頁