Exemplo n.º 1
0
 def cargar(self):
     if self.is_file_open():
         if self.fc.extension == 's':
             self.cargador = Cargador()
             self.cargador.show()
             self.cargador.load_file_name(self.file_name)
         else:
             self.cargadorx = Objcargador()
             self.cargadorx.show()
             ficheros = os.listdir("./salidas")
             for s in ficheros:
                 self.cargadorx.window.listWidget.addItem("./salidas/"+s)