'commit006'

main
CriptDit 6 months ago
parent c70e54a028
commit 6bcd5c04c9

@ -265,7 +265,7 @@ class Mainpage:
messagebox.showinfo(title='提示', message='没有上一张了') messagebox.showinfo(title='提示', message='没有上一张了')
else: else:
self.current_data_image_index -= 1 self.current_data_image_index -= 1
self.image_url(self.current_data_index, self.current_data_image_index) self.image_url(self.current_data_image_index)
def researchPage(self): def researchPage(self):
self.clear_csv_file() self.clear_csv_file()
rs=self.research.get() rs=self.research.get()
@ -288,7 +288,7 @@ class Mainpage:
self.init_text() self.init_text()
self.init_main_Page() self.init_main_Page()
self.image_show() self.image_show()
def image_url(self,index,col): def image_url(self,col):
with open(self.data_csv_file_path,'r',encoding='utf-8') as f: with open(self.data_csv_file_path,'r',encoding='utf-8') as f:
reader = csv.reader(f) reader = csv.reader(f)
row ='' row =''

Loading…
Cancel
Save