来源:https://stackoverflow.com/questions/64002703/using-exec-to-define-a-variable-raises-an-nameerror-when-referencing-it 标签 python exec