import examInf def main(): try: examInf.doExport() except Exception as e: print(e) finally: input("输入任意键退出!") if __name__ == "__main__": main()