i have an exe file which was created in python and bundled into an exe using py2exe. I wish to modify one of the modules within the exe. I have succesfully unzipped the .pyc file i want to modify and converted it back to .py and modified it successfully. Now i need to somehow get this modified .pyc file back into the exe. is there a way to do so?
with py2exe you have two choices when bundling the exe - include all modules within the exe or to have the main script as the exe and the rest within a library.zip file. This program has all the .pyc files included within the exe. When i extract all i lost the main script of the exe, and 7-zip will let me view the includes without extracting but not to insert or delete any from there
with py2exe you have two choices when bundling the exe - include all modules within the exe or to have the main script as the exe and the rest within a library.zip file. This program has all the .pyc files included within the exe. When i extract all i lost the main script of the exe, and 7-zip will let me view the includes without extracting but not to insert or delete any from there