Beispiel #1
0
 def import_url(self):
     '''
     GUI method that import all table from specific url
     :return: None
     '''
     self.Scrolledtext1.configure(state="normal")
     self.Scrolledtext1.delete("1.0", "end-1c")
     urlAddress = self.root_text.get("1.0", "end-1c")
     self.Scrolledtext1.insert(
         tk.INSERT, Window_support.search_window(urlAddress, 'all'))
     self.Scrolledtext1.configure(state="disabled")
Beispiel #2
0
 def search_by_model(self):
     '''
     function that do the same as import_url but, filter by specific model and return table
     :return:None
     '''
     self.Scrolledtext1.configure(state="normal")
     self.Scrolledtext1.delete("1.0", "end-1c")
     urlAddress = self.root_text.get("1.0", "end-1c")
     model = self.filter_model_text.get("1.0", 'end-1c')
     self.Scrolledtext1.insert(
         tk.INSERT, Window_support.search_window(urlAddress, model))
     self.Scrolledtext1.configure(state="disabled")