def convert_dir(dirpath): job = NotaJob() job.add_dir(dirpath) job.execute()
def convert_file(filepath): job = NotaJob() job.add_file(filepath) job.execute()