Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Converting to exe problems
#11
No problem
Reply
#12
(Apr-20-2019, 11:22 PM)francisco_neves2020 Wrote: I have created a tkinter warning to tell people to not close the cmd, otherwise the program will close
You have to use --windowed or --noconsole when using GUI.
Example:
pyinstaller --onefile --noconsole tk_test.py
Leave don't use a wrapper like auto-py-to-exe if something goes wrong or try to do more advance stuff.
Pyinstaller has god docs.
A tutorial i have here using pyinstaller.
Reply
#13
(Apr-20-2019, 11:46 PM)snippsat Wrote:
(Apr-20-2019, 11:22 PM)francisco_neves2020 Wrote: I have created a tkinter warning to tell people to not close the cmd, otherwise the program will close
You have to use --windowed or --noconsole when using GUI.
Example:
pyinstaller --onefile --noconsole tk_test.py
Leave don't use a wrapper like auto-py-to-exe if something goes wrong or try to do more advance stuff.
Pyinstaller has god docs.
A tutorial i have here using pyinstaller.

Anything you may tell me i have already done it, except hte one mentioned in the post about path, --noconseole, py, pyw, pyc, py2exe, one directory, one exe, still the same problem. I would love to give you the code, but i can't. Do to copyrights of myself, sorry and the lot of work i had to make the program, it is still in Alfa, (more to come) based on the users feedback
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Problems converting pyqt4 script to pyqt5 using pyqt4topyqt5.py Vysero 1 2,796 Jul-31-2018, 08:56 PM
Last Post: Axel_Erfurt

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020