Python Forum
Python 3.6 to executable
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python 3.6 to executable
#2
(Jan-09-2018, 10:05 PM)DeGerlash Wrote: the cmd window flashes some chunk of text en closes immediately. I figured this is because of the modules I use in the program (for example random and time and readlines and stuff)
No it will always close cmd window after program is finish,if start bye double-clicking.
Start cmd first then start .exe window will stay.
There are some solution the simplest is adding this line last.
input('--- Press <Enter> to exit ---')
(Jan-09-2018, 10:05 PM)DeGerlash Wrote: What is the best way to send a friend a program I coded? By 'best' I mean it being as easy as possible for a friend to just simply run the program.
If he/she is a Windows user and don't have Python installed and maybe not so technically minded,
then .exe is the simplest.
If have Python installed then you could make wheel.
Then all is packed in that wheel file and install is pip install wheel_name.whl.
Reply


Messages In This Thread
Python 3.6 to executable - by DeGerlash - Jan-09-2018, 10:05 PM
RE: Python 3.6 to executable - by snippsat - Jan-09-2018, 11:21 PM
RE: Python 3.6 to executable - by DeGerlash - Jan-10-2018, 08:40 AM
RE: Python 3.6 to executable - by snippsat - Jan-10-2018, 12:34 PM
RE: Python 3.6 to executable - by DeGerlash - Jan-10-2018, 05:27 PM
RE: Python 3.6 to executable - by snippsat - Jan-10-2018, 06:12 PM
RE: Python 3.6 to executable - by DeGerlash - Jan-10-2018, 09:11 PM
RE: Python 3.6 to executable - by snippsat - Jan-10-2018, 09:26 PM
RE: Python 3.6 to executable - by DeGerlash - Jan-12-2018, 01:41 PM
RE: Python 3.6 to executable - by snippsat - Jan-12-2018, 02:26 PM
RE: Python 3.6 to executable - by DeGerlash - Jan-15-2018, 10:10 PM
RE: Python 3.6 to executable - by snippsat - Jan-15-2018, 10:21 PM
RE: Python 3.6 to executable - by DeGerlash - Jan-15-2018, 10:24 PM
RE: Python 3.6 to executable - by snippsat - Jan-15-2018, 10:34 PM
RE: Python 3.6 to executable - by DeGerlash - Jan-16-2018, 01:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Create Python "Executable" from PyCharm? Oliver 8 61,267 Jan-08-2018, 10:52 AM
Last Post: Oliver

Forum Jump:

User Panel Messages

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