DEV Community

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

Collapse
 
blackpearl225 profile image
Blackpearl225

Hey there, i've been running into an error since last week. I tried to create a executable from a python file and everything worked fine except the fact that i had a console open when the exe was running. So i decided to use the --noconsole command in order to hide it and then the exe won't start . I got the error "failed to execute script". Coud anyone help me out?
Thanks you very much.

Collapse
 
eshleron profile image
Eshleron

Hi!
If youneed to hide the console you can choose the option in Auto py to exe to hide it.

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