Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
268 views
in Technique[技术] by (71.8m points)

python - How do I turn a messy build folder into an exe?

I used the setup.py build method to turn my .py into a .exe and it mad a build folder with the exe, 4 .dll files and another folder with loads of stuff in it, how do I turn all of this into one .exe?

question from:https://stackoverflow.com/questions/65844289/how-do-i-turn-a-messy-build-folder-into-an-exe

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Have you tried --onefile parameter in the command? Documentation


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...