Python Forum

Full Version: py file to exe
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

How can I convert a py file to exe without creating folders such as "dist", "pycache" and "build"?

Thanks
Are you talking about pyinstaller?

If you create a single file (pyinstaller --onefile), you you can delete these folders afterwards.

But they are needed first to create the exe.