我可以将pyc(python2.7编译的)反编译为py吗?
当我在提交之前更新项目时,CVS 删除了我的一个文件。我现在拥有的只是一个由 Python 2.7 编译的 .pyc 文件。我怎样才能反编译它?
CVS deleted one of my files when I updated my project before commit. All that I've got now is a .pyc file compiled by Python 2.7. How can I decompile it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是旧的,但可能仍然有效:http://www.crazy-compilers.com/decompyle/
可以在这里找到更新的工具: http://www.depython.net/
您也可以尝试这个(但它不起作用迭代器): http://sourceforge.net/projects/unpyc/
This is old but may still work: http://www.crazy-compilers.com/decompyle/
A newer tool can be found here: http://www.depython.net/
Your can also try this one (but it doesn't work on iterators): http://sourceforge.net/projects/unpyc/
您可以尝试Easy Python Decompiler。它基于 Decompyle++ 和 Uncompyle2。
注:我是上述工具的作者。
You may try Easy Python Decompiler. It's based on Decompyle++ and Uncompyle2.
Note: I am the author of the above tool.