Python Forum
Python 3.6 to executable
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python 3.6 to executable
#1
Hi everyone

I've been coding a program for a friend that I would like that friend to be able to use smoothly. I thus should be able to convert it to an executable. This, I am able to do using pyinstaller (which supports Python 3.6). My program generally goes as follows: I use a while loop to be able to repeat the program as much as the user likes to, and then I ask some simple input from the user, after which the big part of the program runs. It all works smoothly in my IDLE (Thonny), and it does also when running the .py file through cmd. But when I use pyinstaller to create an executable and then run the executable, I get the first part of the program working, but as soon as I enter the answer to the last input question, 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), and this idea was confirmed by looking at the warn file that pyinstaller (I guess) had installed. It reported of numerous modules that were unfound running the program. This is all actually just background information and may be irrelevant to my question, which goes as follows: 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.

Thanks in advance!
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,435 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