Aaron
Aaron

Reputation: 121

Use Auto-py-to-exe from python script?

I can successfully convert my .py files to .exe files through the auto-py-to-exe program.

However is there a way to do it completely from a script?

for example:

import auto-py-to-exe

contained file console type auto-py-to-exe.convert(fileorigin.py,filedest.exe)

My goal is to have a script constantly running that converts my code then it uploads it to my server. I have the code to upload to the server on timer though i currently have to manually convert my files through the auto-py-to-exe program which is very time consuming and annoying.

If there is another way to do achieve this without auto-py-to-exe I am interested.

Thank you heaps :)

Ive tried googling however i could not find anything.

Upvotes: 1

Views: 1793

Answers (2)

mcagriaksoy
mcagriaksoy

Reputation: 90

Auto-py-to-exe and many other alternatives are using pyinstaller from backend actually. There is exist an opened discussion already

Upvotes: 1

Aaron
Aaron

Reputation: 121

Using pyinstaller instead. Will post the code when im back on this pc.

Upvotes: 0

Related Questions