版权声明:そう何簡単な諦めるわけないだろう。。 https://blog.csdn.net/Inuyasha_1314/article/details/80582037
死活查不出来,写了一个ast报这个错。
Traceback (most recent call last):
File "C:\Users\HP\Desktop\ast.py", line 13, in <module>
res = sc(path)
File "C:\Users\HP\Desktop\ast.py", line 8, in sc
ex = ast.parse(res,filename=path,mode = 'exec')
AttributeError: module 'ast' has no attribute 'parse'