当尝试使用Python的exec语句时,我得到了以下错误:
exec
TypeError: exec: arg 1 must be a string, file, or code object
我不想传入字符串或文件,但是什么是代码对象,如何创建代码对象?
https://stackoverflow.com/questions/5768684
相似问题