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


Groups > comp.lang.python > #50189

Re: the general development using Python

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.045
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; 'interpreter': 0.05; 'subject:Python': 0.06; 'deployed': 0.07; 'installed.': 0.07; 'subject:using': 0.09; 'python': 0.11; '(either': 0.16; '(same': 0.16; '.py': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'restrictions': 0.19; 'platforms': 0.22; 'script.': 0.24; '(or': 0.24; 'equivalent': 0.26; 'possibly': 0.26; 'distribute': 0.26; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; 'restrict': 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; 'once,': 0.31; 'os,': 0.31; 'subject:development': 0.31; 'file': 0.32; 'compatible': 0.32; 'languages': 0.32; 'run': 0.32; 'another': 0.32; 'running': 0.33; 'projects.': 0.33; 'subject:the': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'level': 0.37; 'to:addr:python-list': 0.38; 'files': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'users': 0.40; 'how': 0.40; 'skip:u 10': 0.60; 'most': 0.60; 'details.': 0.61; 'simply': 0.61; 'you.': 0.62; 'back': 0.62; 'save': 0.62; 'high': 0.63; 'fact,': 0.69; 'jul': 0.74; '11:45': 0.84; 'hassle': 0.84; 'simple!': 0.91; 'whereas': 0.91; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=HaHkY8wl6Ji3ROGcALAZX8BAsUvuc5Z7w0J256RyHp8=; b=F7esW2+rkn5Opo04vUIdlodMdR+n3T5CYefu4T1pJEdLuH6AOLYr0/FvfwfwsftwuW PnE/y6WC3bzqWm2oLk+pGtUCFbEWXcDrw6NA758DwdGMUhz8Hx+mpRfyD6G2HhM5uRBP k4RvF0U6IWH5P/HgvSchOCFkTp7PHSltC6bL9JxgblZ4ADz4FtGG9ddKCBXBJOYHFaWR 6fFUYGapxCl+S2FUS8mLMLmU+CFJf1MipoeOp987XVgqEayb8hM7Q4qnSbRyHqzC3NIQ S5TzjzxHsOqWAupjKIXJi+kGGm3fdAgTldVMofkCS5sAtpWC/x69nCxDowK1xFSm2Zsm OoZA==
MIME-Version 1.0
X-Received by 10.66.178.174 with SMTP id cz14mr25885484pac.136.1373339228046; Mon, 08 Jul 2013 20:07:08 -0700 (PDT)
In-Reply-To <51f7f573-e4a6-4349-ae50-21de7780ed8c@googlegroups.com>
References <51f7f573-e4a6-4349-ae50-21de7780ed8c@googlegroups.com>
Date Tue, 9 Jul 2013 13:07:07 +1000
Subject Re: the general development using Python
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4412.1373339237.3114.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1373339237 news.xs4all.nl 15936 [2001:888:2000:d::a6]:39329
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:50189

Show key headers only | View raw


On Tue, Jul 9, 2013 at 11:45 AM,  <ajetrumpet@gmail.com> wrote:
> I have to get back into writing Python but I'm lacking one thing ... a general understanding of how to write applications that can be deployed (either in .exe format or in other formats).

That's one last thing you need to un-learn, then :)

You distribute Python applications simply as they are - as a .py file
(or a collection of .py files), and your users run them. It's really
that simple!

In fact, deploying to .exe or equivalent would restrict your users to
those running a compatible OS (same OS, same word/pointer size (32-bit
or 64-bit), possibly other restrictions too), whereas deploying the
.py files just requires that they have a compatible Python interpreter
installed. Target the three most popular desktop platforms all at
once, no Linux/Windows/Mac OS versioning. Target the lesser-known
platforms like OS/2 with the same script. And completely eliminate the
"compile step", which might take a long time with large projects.
(Okay, your code does still get compiled, but the interpreter manages
all that for you. All you need to know is that the .pyc files don't
need to be distributed.)

Python - like most other modern high level languages - is designed to
save you the hassle of working with the details. This is another of
those hassle-savings. :)

ChrisA

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


Thread

the general development using Python ajetrumpet@gmail.com - 2013-07-08 18:45 -0700
  Re: the general development using Python Joshua Landau <joshua.landau.ws@gmail.com> - 2013-07-09 02:59 +0100
  Re: the general development using Python Chris Angelico <rosuav@gmail.com> - 2013-07-09 13:07 +1000
  Re: the general development using Python Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-08 22:13 -0400
  Re: the general development using Python CM <cmpython@gmail.com> - 2013-07-08 21:46 -0700
    Re: the general development using Python Chris Angelico <rosuav@gmail.com> - 2013-07-09 15:03 +1000
      Re: the general development using Python CM <cmpython@gmail.com> - 2013-07-09 16:29 -0700
    Re: the general development using Python Ian Kelly <ian.g.kelly@gmail.com> - 2013-07-09 02:41 -0600
    Re: the general development using Python Chris Angelico <rosuav@gmail.com> - 2013-07-09 23:59 +1000
    Re: the general development using Python Joshua Landau <joshua.landau.ws@gmail.com> - 2013-07-09 22:21 +0100
      Re: the general development using Python CM <cmpython@gmail.com> - 2013-07-09 16:38 -0700
  Re: the general development using Python Joshua Landau <joshua.landau.ws@gmail.com> - 2013-07-09 22:13 +0100
    Re: the general development using Python CM <cmpython@gmail.com> - 2013-07-09 16:35 -0700
      Re: the general development using Python Joshua Landau <joshua@landau.ws> - 2013-07-10 01:14 +0100
        Re: the general development using Python CM <cmpython@gmail.com> - 2013-07-09 19:16 -0700
          Re: the general development using Python Chris Angelico <rosuav@gmail.com> - 2013-07-10 12:53 +1000
          Re: the general development using Python Joshua Landau <joshua@landau.ws> - 2013-07-10 05:12 +0100
            Re: the general development using Python CM <cmpython@gmail.com> - 2013-07-09 21:49 -0700
              Re: the general development using Python Joshua Landau <joshua@landau.ws> - 2013-07-10 06:49 +0100
                Re: the general development using Python CM <cmpython@gmail.com> - 2013-07-10 16:18 -0700
                Re: the general development using Python Joshua Landau <joshua@landau.ws> - 2013-07-11 00:57 +0100
                Re: the general development using Python CM <cmpython@gmail.com> - 2013-07-11 11:37 -0700
              Re: the general development using Python Ian Kelly <ian.g.kelly@gmail.com> - 2013-07-10 16:10 -0600
  Re: the general development using Python Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-09 19:25 -0400

csiph-web