Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #95837
| Path | csiph.com!goblin3!goblin1!goblin.stu.neva.ru!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!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.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'cc:addr:python-list': 0.09; 'modules.': 0.09; 'subject:Why': 0.09; 'subject:both': 0.09; 'python': 0.10; 'subject:not': 0.11; 'wed,': 0.15; '(but': 0.15; 'file,': 0.15; 'java,': 0.15; '.py': 0.16; 'executable.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.16; "wouldn't": 0.16; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'machine': 0.21; 'sep': 0.22; 'am,': 0.23; 'header:In-Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.27; 'turns': 0.27; 'notation': 0.29; 'url:peps': 0.29; 'anyone': 0.32; 'run': 0.33; 'problem': 0.33; 'url:python': 0.33; 'jump': 0.33; 'similar': 0.33; 'file': 0.34; 'gives': 0.35; 'received:google.com': 0.35; 'url:dev': 0.35; 'supports': 0.35; 'url:org': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'files': 0.38; 'still': 0.40; 'some': 0.40; 'your': 0.60; 'making': 0.62; 'benefit': 0.66; 'fact,': 0.67; 'again!': 0.84; 'chrisa': 0.84; 'to:none': 0.91; 'execution,': 0.91 |
| 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:cc :content-type; bh=W2zPjbvbVBXJkK77TD8qMfcwsTrlsbImrFdo5Kuda3k=; b=eojqTrp/u3cL6ELkgWd3DIClAW3ncY14iYKQIFUW48ussp0Ry7TzlOqMD1uyWCfnoH ZeVEH9leuZTN47o/v+Go3QWE8hAGQ9dTTYIkHZB4B9T53PopK9L91m2LjpRw/C98+e3b 5QYZmK3CpCPeel5iYxqUL34x1MDZgOvQMxE4JPybZG1x+qmZaiMP8Adg68LC3DhrQ4cK 9uxBK7Bu7LP9Qlop7g+TsS0yGg3HYHGfwDiBEpLb3jj5N9q0g1HabZeT+V7aCPR4qGdV ojU+1r54Uh3m9n586nEcVCxze+rFlb50izQVJd33CeAxT6illuya1LvwdCO/lLVgF5gn XFDw== |
| MIME-Version | 1.0 |
| X-Received | by 10.107.134.146 with SMTP id q18mr29532046ioi.31.1441127166870; Tue, 01 Sep 2015 10:06:06 -0700 (PDT) |
| In-Reply-To | <87io7uun4s.fsf@elektro.pacujo.net> |
| References | <3e541d13-bc86-456c-8590-4ffd1af9cfd0@googlegroups.com> <mailman.16.1441021308.23514.python-list@python.org> <87twrftw4w.fsf@elektro.pacujo.net> <a1dc8c59-e5a8-4672-afde-49416bbee76a@googlegroups.com> <55e5c220$0$1641$c3e8da3$5496439d@news.astraweb.com> <87io7uun4s.fsf@elektro.pacujo.net> |
| Date | Wed, 2 Sep 2015 03:06:06 +1000 |
| Subject | Re: Why Python is not both an interpreter and a compiler? |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.47.1441127176.23514.python-list@python.org> (permalink) |
| Lines | 15 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1441127176 news.xs4all.nl 23860 [2001:888:2000:d::a6]:46072 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:95837 |
Show key headers only | View raw
On Wed, Sep 2, 2015 at 2:20 AM, Marko Rauhamaa <marko@pacujo.net> wrote: > In fact, the shebang notation turns any single .py file into such an > executable. The problem is if you break your program into modules. Java, > of course, solved a similar problem with .jar files (but still wouldn't > jump over the final hurdle of making the .jar files executable). The time machine strikes again! Python supports zip file execution, which gives you the same benefit as a .jar file, plus you can slap on a shebang and run the whole thing! Anyone for some pyzza? https://www.python.org/dev/peps/pep-0441/ ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Why Python is not both an interpreter and a compiler? Mahan Marwat <mahanmarwat@gmail.com> - 2015-08-31 01:35 -0700
Re: Why Python is not both an interpreter and a compiler? Chris Angelico <rosuav@gmail.com> - 2015-08-31 18:49 +1000
Re: Why Python is not both an interpreter and a compiler? Cameron Simpson <cs@zip.com.au> - 2015-08-31 19:59 +1000
Re: Why Python is not both an interpreter and a compiler? Ben Finney <ben+python@benfinney.id.au> - 2015-08-31 21:41 +1000
Re: Why Python is not both an interpreter and a compiler? Marko Rauhamaa <marko@pacujo.net> - 2015-08-31 16:39 +0300
Re: Why Python is not both an interpreter and a compiler? Mahan Marwat <mahanmarwat@gmail.com> - 2015-08-31 10:48 -0700
Re: Why Python is not both an interpreter and a compiler? Emile van Sebille <emile@fenx.com> - 2015-08-31 10:56 -0700
Re: Why Python is not both an interpreter and a compiler? Ben Finney <ben+python@benfinney.id.au> - 2015-09-01 09:15 +1000
Re: Why Python is not both an interpreter and a compiler? Luca Menegotto <otlucaDELETE@DELETEyahoo.it> - 2015-09-01 07:45 +0200
Re: Why Python is not both an interpreter and a compiler? Ian Kelly <ian.g.kelly@gmail.com> - 2015-09-01 11:21 -0600
Re: Why Python is not both an interpreter and a compiler? Laura Creighton <lac@openend.se> - 2015-09-01 09:51 +0200
Re: Why Python is not both an interpreter and a compiler? Steven D'Aprano <steve@pearwood.info> - 2015-09-02 01:20 +1000
Re: Why Python is not both an interpreter and a compiler? Marko Rauhamaa <marko@pacujo.net> - 2015-09-01 19:20 +0300
Re: Why Python is not both an interpreter and a compiler? Chris Angelico <rosuav@gmail.com> - 2015-09-02 03:06 +1000
Re: Why Python is not both an interpreter and a compiler? Laura Creighton <lac@openend.se> - 2015-09-01 19:33 +0200
Re: Why Python is not both an interpreter and a compiler? Marko Rauhamaa <marko@pacujo.net> - 2015-09-01 23:08 +0300
Re: Why Python is not both an interpreter and a compiler? Chris Angelico <rosuav@gmail.com> - 2015-09-02 10:50 +1000
Re: Why Python is not both an interpreter and a compiler? Laura Creighton <lac@openend.se> - 2015-09-02 09:09 +0200
Re: Why Python is not both an interpreter and a compiler? wxjmfauth@gmail.com - 2015-09-02 01:25 -0700
Re: Why Python is not both an interpreter and a compiler? Laura Creighton <lac@openend.se> - 2015-09-01 19:52 +0200
Re: Why Python is not both an interpreter and a compiler? Steven D'Aprano <steve@pearwood.info> - 2015-09-02 12:49 +1000
Re: Why Python is not both an interpreter and a compiler? Marko Rauhamaa <marko@pacujo.net> - 2015-09-02 06:58 +0300
Re: Why Python is not both an interpreter and a compiler? Jussi Piitulainen <harvesting@makes.address.invalid> - 2015-09-02 08:59 +0300
Re: Why Python is not both an interpreter and a compiler? Michael Torrie <torriem@gmail.com> - 2015-09-01 21:46 -0600
csiph-web