我可以将pyc(python2.7编译的)反编译为py吗?

发布于 2024-12-15 15:59:55 字数 79 浏览 1 评论 0原文

当我在提交之前更新项目时,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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

压抑⊿情绪 2024-12-22 15:59:55

这是旧的,但可能仍然有效: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/

红尘作伴 2024-12-22 15:59:55

您可以尝试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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文