Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #100934

Re: Converting py files to .exe and .dmg

From Denis McMahon <denismfmcmahon@gmail.com>
Newsgroups comp.lang.python
Subject Re: Converting py files to .exe and .dmg
Date 2015-12-28 15:48 +0000
Organization A noiseless patient Spider
Message-ID <n5rljo$sn2$1@dont-email.me> (permalink)
References <9b206057-0593-4560-af40-442d03111770@googlegroups.com>

Show all headers | View raw


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, denismfmcmahon@gmail.com

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Converting py files to .exe and .dmg Brian Simms <besimms@gmail.com> - 2015-12-28 07:35 -0800
  Re: Converting py files to .exe and .dmg Denis McMahon <denismfmcmahon@gmail.com> - 2015-12-28 15:48 +0000
  Re: Converting py files to .exe and .dmg Adam M <amorawski@magna-power.com> - 2015-12-28 08:09 -0800
    Re: Converting py files to .exe and .dmg Brian Simms <besimms@gmail.com> - 2015-12-31 22:43 -0800
      Re: Converting py files to .exe and .dmg Michiel Overtoom <motoom@xs4all.nl> - 2016-01-01 09:11 +0100

csiph-web