def renamePaper_by_DOI(): import renamePaper DOIStr = DOIInstance.get() FileNewPathStr = renamePaper.movePDF(PDFFilePathStr) renamePaper.renamePaper_by_DOI(FileNewPathStr, DOIStr, BibFilePathStr)
def renamePaper_by_Entry(): import renamePaper EntryStr = BibEntryInstance.get() FileNewPathStr = renamePaper.movePDF(PDFFilePathStr) renamePaper.renamePaper_by_Entry(FileNewPathStr, BibFilePathStr, EntryStr)