(self)
| 172 | |
| 173 | # 检测路径 |
| 174 | def check_path(self): |
| 175 | from export_article import EexportTxt |
| 176 | et = EexportTxt() |
| 177 | path = self.pathEntry.get() |
| 178 | checkout = et.check_input_path(path) |
| 179 | if checkout: |
| 180 | tk.messagebox.showinfo(title='路径', message='路径正确!') |
| 181 | elif path=="默认路径news": |
| 182 | tk.messagebox.showinfo(title='路径', message='保存路径将作为默认路径!') |
| 183 | else: |
| 184 | tk.messagebox.showerror(title='路径', message='路径不正确!创建正确路径') |
| 185 | |
| 186 | # 导出数据 |
| 187 | def export_data(self): |
nothing calls this directly
no test coverage detected