Recently, I just something like following command, since I prefer a
single-file .exe if I want to share some of my python utilities with others:
pyinstaller --onefile myScript.py
Creates the .exe including all necessary modules, etc. packaged into a
single executable, and, apparently, if run on either mac or linux, will
also do something similar for those platforms, but anyway.
Jacob Kruger
Blind Biker
"Resistance is futile...but, acceptance is versatile..."
On 2019-06-16 10:10 PM, reynoldsdavid46@xxxxxxxxx wrote:
Pranav,** To leave the list, click on the immediately-following link:-
Either that or py2exe which does the job,
David.
-----Original Message-----
From: program-l-bounce@xxxxxxxxxxxxx <program-l-bounce@xxxxxxxxxxxxx> On Behalf
Of Pranav Lal
Sent: 16 June 2019 02:43
To: program-l@xxxxxxxxxxxxx
Subject: [program-l] Re: Scripting or ot: Consolidating a large number of CSV
files and Excel sheets
Hi Nick,
Thanks for the suggestion. What is the easiest way you have found to convert a
script to an executable program?
A quick search lead to the use of pyinstaller which seems to be easy to use.
https://stackabuse.com/converting-python-scripts-to-executable-files/
Pranav
** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq
** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq