当使用uncompyle6反编译.py文件时,我无法获得输出文件.pyc。我在Anaconda提示符下运行此命令:
.py
.pyc
uncompyle main.pyc -o main.py
由于python文件是字节兼容的,因此可以运行.pyc by
python main.pyc