Re: Converting py files to .exe and .dmg

2022-02-19 Thread Techtask Technologies
On Monday, December 28, 2015 at 4:35:41 PM UTC+1, Brian Simms wrote:
> Hi there, 
> 
> I have done a lot of looking around online to find out how to convert Python 
> files to .exe and .dmg files, but I am confused. Could someone provide 
> pointers/advice as to how I can turn a Python file into a Windows .exe and 
> Mac .dmg file. 
> 
> Thanks for any help.

You can convert Python Files to exe using Pyinstaller, this are the procedures 
below:
Run this commands on your terminal:
pip install pyinstaller
pyinstaller nameofyourfile.py --onefile
after that a folder should be created named Dist open it and you would see your 
Python file in an executable format.
I think this would help you.
~Paul Fruitful
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Converting py files to .exe and .dmg

2016-01-01 Thread Michiel Overtoom

> On 2016-01-01, at 07:43, Brian Simms  wrote:
> 
> when I go into Terminal to run "setup.py install" I keep getting "-bash: 
> command not found".

Try:

  python setup.py install

Greetings,

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Converting py files to .exe and .dmg

2015-12-31 Thread Brian Simms
On Tuesday, 29 December 2015 01:09:30 UTC+9, Adam M  wrote:
> On Monday, December 28, 2015 at 10:35:41 AM UTC-5, Brian Simms wrote:
> > Hi there,
> > 
> > I have done a lot of looking around online to find out how to convert 
> > Python files to .exe and .dmg files, but I am confused. Could someone 
> > provide pointers/advice as to how I can turn a Python file into a Windows 
> > .exe and Mac .dmg file.
> > 
> > Thanks for any help.
> 
> Please check this website:
> http://www.pyinstaller.org/
> It should solve your problem.

Hi Adam M,

I went to www.pyinstaller.org and downloaded the software. I don;t know if you 
are using Windows or Mac. I have a Mac and when I go into Terminal to run 
"setup.py install" I keep getting "-bash: command not found". 

I have read the manual and done what it suggested, but still no joy. I have 
MacPorts (which I downloaded several days ago.

If you could provide any pointers as to how I could run the "setup.py" on my 
Mac, it would be hugely appreciated.

Thanks. :-)

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Converting py files to .exe and .dmg

2015-12-28 Thread Denis McMahon
On Mon, 28 Dec 2015 07:35:18 -0800, Brian Simms wrote:

> I have done a lot of looking around online to find out how to convert
> Python files to .exe and .dmg files, but I am confused. Could someone
> provide pointers/advice as to how I can turn a Python file into a
> Windows .exe and Mac .dmg file.

Python files are scripts, they need to be run by an interpreter.

If you want an executable file, you need to compile them. I don't know if 
this is possible.

Otherwise, if you want to distribute the .py files, then the people you 
distribute them to will need to install a python interpreter on the 
machine they wish to execute them on.

-- 
Denis McMahon, denismfmcma...@gmail.com
-- 
https://mail.python.org/mailman/listinfo/python-list


Converting py files to .exe and .dmg

2015-12-28 Thread Brian Simms
Hi there,

I have done a lot of looking around online to find out how to convert Python 
files to .exe and .dmg files, but I am confused. Could someone provide 
pointers/advice as to how I can turn a Python file into a Windows .exe and Mac 
.dmg file.

Thanks for any help.

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Converting py files to .exe and .dmg

2015-12-28 Thread Adam M
On Monday, December 28, 2015 at 10:35:41 AM UTC-5, Brian Simms wrote:
> Hi there,
> 
> I have done a lot of looking around online to find out how to convert Python 
> files to .exe and .dmg files, but I am confused. Could someone provide 
> pointers/advice as to how I can turn a Python file into a Windows .exe and 
> Mac .dmg file.
> 
> Thanks for any help.

Please check this website:
http://www.pyinstaller.org/
It should solve your problem.
-- 
https://mail.python.org/mailman/listinfo/python-list