func loadDBFIle(csvFile string) (ips []*Ips, err error) { DBFile, err := os.OpenFile(csvFile, os.O_RDWR|os.O_CREATE, os.ModePerm) if err != nil { return } defer DBFile.Close() err = gocsv.UnmarshalFile(DBFile, &ips) if err != nil { return } return } func saveMMDB(...
self.videofile, _ = QFileDialog.getOpenFileName(self,"Select Video File","","All Files (*);;Video File (*.mp4 *.avi *.ogv)", options=options)ifself.videofile: self.GPXfile, _ = QFileDialog.getOpenFileName(self,"Select GPX file","","All Files (*);;Video File (*.gpx)", opti...