问题描述
我上下搜索过,但找不到适用于 Python 2.7 .pyc 的反编译器.有人知道一种适用于 Python 2.7 的吗?谢谢
I've searched up and down, but can't find a de-compiler that will work for Python 2.7 .pyc. Does anybody know of one that will work for Python 2.7? Thanks
推荐答案
UPDATE (2019-04-22) - 听起来你想使用 uncompyle6 而不是我最初提到的答案.
UPDATE (2019-04-22) - It sounds like you want to use uncompyle6 nowadays rather than the answers I had mentioned originally.
这听起来很有效:http://code.google.com/p/unpyc/
问题 8 表示它支持 2.7:http://code.google.com/p/unpyc/updates/list
Issue 8 says it supports 2.7: http://code.google.com/p/unpyc/updates/list
更新 (2013-09-03) - 正如评论和其他答案中所述,您应该查看 https://github.com/wibiti/uncompyle2 或 https://github.com/gstarnberger/uncompyle 而不是 unpyc.
UPDATE (2013-09-03) - As noted in the comments and in other answers, you should look at https://github.com/wibiti/uncompyle2 or https://github.com/gstarnberger/uncompyle instead of unpyc.
这篇关于反编译 Python 2.7 .pyc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!