python 编译反编译

def test():
    print(1+1)

if __name__ == '__main__':
    test()



'''
pip install uncompyle6

编译
python -m py_compile test.py 
生成test.pyc文件 反编译 uncompyle6 test.pyc > test.py
'''

 

posted on 2021-12-20 14:53  HHMLXL  阅读(214)  评论(0)    收藏  举报

导航