简体   繁体   中英

Python - When building a binary with cx_Freeze, where is the code saved?

I know its somewhere in the lib folder, and not in the actual exe, but where? I expected that, since in the lib folder there are a bunch of folders for other libraries, it creates a folder for each user-created module and saves the code there. But that is not the case, and nothing i see resembles the names of my modules. What files actually change if i change my code (no new imports etc, just simple additions) between two builds of cx_freeze?

I found the.pyc files in build/exe.win32-3.8/lib/library.zip.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM