Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'yet.': 0.03; 'subject:Python': 0.05; 'builtin': 0.07; 'executable': 0.07; 'subject:file': 0.07; 'cc:addr:python-list': 0.10; 'python': 0.11; 'python.': 0.11; 'files.': 0.13; 'wed,': 0.15; '.py': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'unpacked': 0.16; 'wrote:': 0.16; 'windows': 0.20; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; 'trying': 0.22; 'do.': 0.22; 'deployed': 0.22; 'subject: .': 0.22; '2015': 0.23; 'seems': 0.24; 'header:In-Reply-To:1': 0.24; 'all.': 0.24; 'question': 0.26; 'linux': 0.26; 'distribute': 0.27; 'message-id:@mail.gmail.com': 0.28; 'fine': 0.29; 'non': 0.29; 'header,': 0.29; 'environment': 0.29; 'run': 0.32; "can't": 0.32; 'help,': 0.32; 'getting': 0.33; 'instead,': 0.33; 'proposals': 0.33; 'received:google.com': 0.34; 'step': 0.36; 'but': 0.36; 'created': 0.36; 'there': 0.36; 'subject:: ': 0.37; 'environment.': 0.37; 'mac': 0.37; 'files': 0.38; 'thank': 0.39; 'pm,': 0.39; 'easily': 0.39; 'some': 0.40; 'easy': 0.60; 'your': 0.60; 'simple': 0.61; 'more': 0.62; 'kindly': 0.64; 'chrisa': 0.84; 'easier,': 0.84; 'to:none': 0.90; 'reliable,': 0.93 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:content-transfer-encoding; bh=8hWZ+6R7VoeYr1bfC2fm6a/y2fLYb0611X+hAWjw/MM=; b=TKoyUWPPtuKn4qIv2Bzf2ToBTSacKLp/M0qLYWIk/Ju6J15JtyHfH2MgGxDy5xQIyQ GZA4dwUSDnbQXFwXgO3G04ZWuhbEOdkyrmj16vZZfRvR9Rwfu3Nac5v+wFzebuXz6I+p 48Hk0RBCIW9Kkoi5CKarZNA7SFwMclvGi0A9LiB5FDenDN4Pl1f3Ik8Hsu9a5PLAV7aH /nvwlNPJGfPEDuvCHK+k10riNM0Z3Ii6fCSdKsedlorQFN1pdKWjRtrNb6gwgexLRm8u G07lqYWCeN4P68X/xxO4W9jCV00KMpSKo8G4MC6WEpakMeNWgDK/i70MYJii2LDSvP6k lCAw== MIME-Version: 1.0 X-Received: by 10.50.143.104 with SMTP id sd8mr35039905igb.14.1434547228157; Wed, 17 Jun 2015 06:20:28 -0700 (PDT) In-Reply-To: <9e068291-09c2-4b2a-8e1c-8803050cfba1@googlegroups.com> References: <349bb66f-bd3c-47ec-bd1d-35f46d23cf95@googlegroups.com> <2219d0b2-24a4-498b-b981-456faf0ceb44@googlegroups.com> <5f6b802f-049b-48e3-b1fd-a5915b7f3dbb@googlegroups.com> <2de8f2c1-5a92-4f8b-be2d-c793de69d463@googlegroups.com> <9e068291-09c2-4b2a-8e1c-8803050cfba1@googlegroups.com> Date: Wed, 17 Jun 2015 23:20:28 +1000 Subject: Re: Creating .exe file in Python From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1434547236 news.xs4all.nl 2862 [2001:888:2000:d::a6]:37792 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:92740 On Wed, Jun 17, 2015 at 11:10 PM, wrote: > Thank you all. It seems going fine now. I have one additional question if= I run the .exe files created in Non Python Windows environment. Linux has = Python builtin but in Non Python environment how may I run it? Is there any= set of prequisites I have to follow. I am not finding much web help, if an= y one may kindly suggest. > There have been some proposals to make an easy way to produce a single package that has a Windows executable header, but can be easily unpacked and run using a system-provided Linux or Mac OS Python. However, I don't think any have been deployed yet. So the simple answer is: You can't do what you're trying to do. Instead, take a step back, and look at just getting your Python program to run on all platforms... and that's easy, just distribute the .py files. Much MUCH easier, more reliable, and simpler. ChrisA