DEV Community

Discussion on: How to convert .py to .exe? Step by step guide.

 
eshleron profile image
Eshleron

Make sure you added the fie to Auto PY to EXE additional files menu for it to be compilated with .exe.

Thread Thread
 
r4nta profile image
r4nta

I changed my config file to .json and now it works. Even with adding the file manually, it does NOT work when the file is .py (the file was in the folder, but changing settings did not reflect in the script).

Thread Thread
 
qwerty_plm profile image
SwethaVSarma

Can you please suggest on how to do this? I have converted the python codes to exe using pyinstaller. I kept the input python file wthout converting to .exe so that the main exe can read from it. But when i change the values in the input python file I have to again use pyinstaller and do the convertion of main python file.

Some comments have been hidden by the post's author - find out more