是否有可能反编译经过编译的.pyc文件文件转换成.py文件? [英] Is it possible to decompile a compiled .pyc file into a .py file?

查看:604
本文介绍了是否有可能反编译经过编译的.pyc文件文件转换成.py文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能获得一些信息指出,从.py文件产生的.pyc文件的文件?

Is it possible to get some information out of the .pyc file that is generated from a .py file?

推荐答案

Uncompyle2 运作良好,对我与Python 2.7反编译.pyc文件字节code到的.py,而unpyclib开车撞例外。

Uncompyle2 worked well for me with Python 2.7 to decompile the .pyc bytecode into .py, whereas unpyclib crashed with an exception.

请参阅上uncompyle2 这个答案对于一些其他意见。

See this answer on uncompyle2 for some other comments.

这篇关于是否有可能反编译经过编译的.pyc文件文件转换成.py文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆