def ok(self): self.close() system_path = self.choose.currentData() # self.w = MainWindow( system_path ) #sys.path.append(os.path.join(THIS_DIR, 'pylib')) sys.path.append(system_path) import Windows self.w = Windows.MainWindow(system_path)
import Windows Windows.MainWindow()