Python Forum
Convert script into an exe file
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Convert script into an exe file
#4
(Oct-13-2016, 10:52 AM)badteacher Wrote: take these programs home show their parents without having to install any extra stuff on their own PC's at home, which I believe a simple executable file will allow them to do.

.exe files are only helpful for Windows machines. Maybe many parents have such computers, but you should not presume so. Especially as a techer, I would encourage to also inform about Mac, Linux, etc. It seems like only Windows which does not come with Python already installed in the OS.

If you package an .exe with your python script, you essentially put the needed python installation files right alongside your (probably much smaller) code. This also means, if you want to show more than one .exe to the same people, you will always need to package and copy these larger files with all this extra stuff added each time. It seems indeed more intelligent to once install Python on Windows, and be done with it.

Then they can also show their parents the easy-to-read source code they wrote in Python, and it may get easier to understand, whereas this big binary .exe file will just be some form of magic, and can't even be adjusted on-the-fly if the parents have a nice tweaking idea they would like to see.

Maybe consider for future courses.

edit: Some nice feature-rich and easy Python installations for Windows include Python(x,y) or WinPython. They bring along lots of 3rd party modules you may or may not use in your course as well, also editing software, etc. etc.
Reply


Messages In This Thread
Convert script into an exe file - by badteacher - Oct-13-2016, 10:52 AM
RE: Convert script into an exe file - by Larz60+ - Oct-13-2016, 11:16 AM
RE: Convert script into an exe file - by buran - Oct-13-2016, 11:21 AM
RE: Convert script into an exe file - by Kebap - Oct-13-2016, 01:44 PM
RE: Convert script into an exe file - by metulburr - Oct-13-2016, 02:13 PM
RE: Convert script into an exe file - by wavic - Oct-13-2016, 02:14 PM
RE: Convert script into an exe file - by snippsat - Oct-13-2016, 02:31 PM
RE: Convert script into an exe file - by badteacher - Oct-13-2016, 09:14 PM
RE: Convert script into an exe file - by badteacher - Oct-29-2016, 10:39 AM
RE: Convert script into an exe file - by Larz60+ - Oct-29-2016, 05:08 PM
RE: Convert script into an exe file - by Skaperen - Oct-30-2016, 05:02 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question [SOLVED] Correct way to convert file from cp-1252 to utf-8? Winfried 8 1,246 Feb-29-2024, 12:30 AM
Last Post: Winfried
  Convert File to Data URL michaelnicol 3 1,311 Jul-08-2023, 11:35 AM
Last Post: DeaD_EyE
  Python Script to convert Json to CSV file chvsnarayana 8 2,655 Apr-26-2023, 10:31 PM
Last Post: DeaD_EyE
  Convert Excel file into csv with Pipe symbol.. mg24 4 1,405 Oct-18-2022, 02:59 PM
Last Post: Larz60+
  Need Help: Convert .pcl file to .pdf file ManuRaval 6 2,646 Sep-13-2022, 01:31 PM
Last Post: ManuRaval
Question convert autohotkey script to python / macro - press key when pixel get colour willson94d 1 3,737 Jan-01-2022, 08:13 PM
Last Post: Yoriz
  Convert legacy print file to XLSX file davidm 1 1,850 Oct-17-2021, 05:08 AM
Last Post: davidm
  Yahoo_fin, Pandas: how to convert data table structure in csv file detlefschmitt 14 7,955 Feb-15-2021, 12:58 PM
Last Post: detlefschmitt
  [split] How to convert the CSV text file into a txt file Pinto94 5 3,459 Dec-23-2020, 08:04 AM
Last Post: ndc85430
  CPC File Format (Cartesian Perceptual Compression) - Can Python Convert / Handle Them PSKrieger 2 2,537 Nov-11-2020, 02:57 PM
Last Post: PSKrieger

Forum Jump:

User Panel Messages

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