DEV Community

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

Collapse
 
drunkcodes profile image
Aneke Emmanuel Chidubem

Hello,
I wrote an automation PY script. The script is working fine when tested on my IDE.

I created .exe file through your guide.
I lunched the application it opened fine. Everything was complete.

The problem is that when I tried to run automation it will open the web browser but will not automate anything.

Is they a way you can help me out

Collapse
 
eshleron profile image
Eshleron

Hi!

Send me an error code if sometime there will be one.
List all libs you use. I think one of them works that way.
And try to launch your app from cmd, see if there is anything there.

Collapse
 
drunkcodes profile image
Aneke Emmanuel Chidubem

I have fixed it using Auto py to exe.
I had to add some codes and move some files. It works now. But when I install it I can't find the software lunch icon on Desktop . Had to always go to my folder to lunch it. Is they a way to have it on my Desktop

Thread Thread
 
eshleron profile image
Eshleron

Glad you fixed it!
I dont remember this option being there. I think by default it saves the result near initial script location.

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