Open Adarsh-365 opened 1 year ago
so i created in core.py `` def importPICKLE(self,filename=None, dialog=False,**kwargs): ftype = os.path.splitext(filename)[0]
if dialog == True: impdialog = ImportDialog(self, filename=filename) df = impdialog.df if df is None: return else: df = pd.read_pickle(filename, **kwargs) df.name=ftype self.tosave_name=df model = TableModel(dataframe=df) self.updateModel(model) self.redraw() self.importpath = os.path.dirname(filename) ``
so i created in core.py `` def importPICKLE(self,filename=None, dialog=False,**kwargs): ftype = os.path.splitext(filename)[0]
print(ftype)