pycharm运行代码时提示pydev debugger: process xxxx is connecting 添加 if __name__ == "__main__": # 要运行的方法 get_excel() 然后再执行