嗨,据我所知,您可以先对脚本进行混淆,然后使用 pyinstaller 通常选择混淆的文件,它会创建您的可执行文件。
使用内置的pack
参数,并包含 --add-data 以包含您的文件夹
pyarmor pack -e " --onefile --icon=logo.ico --add-data path/to/dir;dest/dir" Spring.py
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.