跳转至

Pyc

编译为pyc

python -m compileall test.py

py反编译

支持3.7, pip install uncompyle

https://rednaxelafx.iteye.com/blog/382423
https://github.com/zrax/pycdc

在线工具

https://wcf1987.iteye.com/blog/1672542

https://blog.csdn.net/zhongbeida_xue/article/details/79082174
https://wcf1987.iteye.com/blog/1672542

查看字节码

import opcode  
for op in range(len(opcode.opname)):  
  print('0x%.2X(%.3d): %s' % (op, op, opcode.opname[op])) 

评论