1.首先将pip版本升级
pip install --upgrade pip
2.然后安装uncompyle6
pip install uncompyle6
3.在系统的环境变量中,添加“python_home”
4.在系统变量Path中添加:
%python_home%\Scripts\
5.运行下面的代码,就会在你.pyc对应文件夹下产生py原文件。( xx为你的文件名。)
uncompyle6 -o xx.py xx.pyc
1.首先将pip版本升级
pip install --upgrade pip
2.然后安装uncompyle6
pip install uncompyle6
3.在系统的环境变量中,添加“python_home”
4.在系统变量Path中添加:
%python_home%\Scripts\
5.运行下面的代码,就会在你.pyc对应文件夹下产生py原文件。( xx为你的文件名。)
uncompyle6 -o xx.py xx.pyc