getOpenFileName (self,"open file",'') print(fileDialog) fp = open(fileDialog,'r',encoding='utf-8') #文件有中文,必须指定解码print(fp) data ...
確定! 回上一頁