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

Path csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Denis McMahon <denismfmcmahon@gmail.com>
Newsgroups comp.lang.python
Subject Re: Converting py files to .exe and .dmg
Date Mon, 28 Dec 2015 15:48:08 -0000 (UTC)
Organization A noiseless patient Spider
Lines 18
Message-ID <n5rljo$sn2$1@dont-email.me> (permalink)
References <9b206057-0593-4560-af40-442d03111770@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Date Mon, 28 Dec 2015 15:48:08 -0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="66ffcfa4470a58bcddbdcd1913f98ab4"; logging-data="29410"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+by/xU/+mNEe1HzVAdeayzeXIaQCQpAU="
User-Agent Pan/0.136 (I'm far too busy being delicious; GIT 926a150 git://git.gnome.org/pan2)
Cancel-Lock sha1:IM7eCZnjmqWPqFw/RV3swVUqNTo=
Xref csiph.com comp.lang.python:100934

Show key headers only | 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