Path: csiph.com!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.028 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'subject:Python': 0.05; 'before.': 0.09; 'subject:Why': 0.09; 'subject:both': 0.09; 'python': 0.10; 'subject:not': 0.11; 'useful,': 0.13; "hasn't": 0.15; "(it's": 0.16; '(windows)': 0.16; 'files).': 0.16; 'gained': 0.16; 'useless': 0.16; 'wrote:': 0.16; '2015': 0.20; 'aug': 0.20; '31,': 0.22; "aren't": 0.22; 'installation': 0.23; 'header:In- Reply-To:1': 0.24; 'mon,': 0.24; 'distribute': 0.27; 'message- id:@mail.gmail.com': 0.27; 'windows,': 0.29; 'typically': 0.29; 'code': 0.30; 'lab': 0.30; 'another': 0.32; 'run': 0.33; 'maintained': 0.33; 'maintaining': 0.34; 'file': 0.34; 'previous': 0.34; 'server': 0.34; 'that,': 0.34; 'received:google.com': 0.35; 'so,': 0.35; 'something': 0.35; 'but': 0.36; 'should': 0.36; 'there': 0.36; 'cases': 0.36; 'faster': 0.36; 'to:addr:python- list': 0.36; 'subject:?': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'hundreds': 0.37; 'doing': 0.38; 'several': 0.38; 'why': 0.39; "didn't": 0.39; 'system.': 0.39; 'easily': 0.39; 'rather': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'still': 0.40; 'some': 0.40; 'your': 0.60; 'our': 0.64; 'everybody': 0.67; 'published': 0.72; '11:45': 0.84; 'all!': 0.84; 'computers.': 0.84; 'loose': 0.84; 'to:name:python': 0.84; '200+': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=0xv30lwIFKysi886D8pe4TT9Ii3L0C6bw1t2KYfR4rs=; b=jpQWeUV1Uvt5Rry6ujfZ5oC8c2knRmGlqv/A8ExxGl0iGVBEtHOdwm+KCEQTqZxjku uVmexONis/sqcVPa8X0hq2zg7t9Gt3VmoXTRHcxin4eDBCHInggGaexi/EpmQBGfrpWg 3aRWbBnwTOQzTqiaJtcZdiJY/1DvokugdD9ZXytGEYdAuZxrB+pK9SorylBEQqwG0W7F AZRRc14KZLc2TWNFjgMDApivdL945C4yX/pKJLksRiKNUFCV3y7eKuurVUFzUJfazVPr lJuMh6TDAgyf7tnJ/TshkaqJxATAawb5OciD2MVWrimxoxnDcLRpZFA7bbe48JT3lxiq ykfQ== X-Received: by 10.129.31.135 with SMTP id f129mr29301545ywf.85.1441128112390; Tue, 01 Sep 2015 10:21:52 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <3e541d13-bc86-456c-8590-4ffd1af9cfd0@googlegroups.com> <87twrftw4w.fsf@elektro.pacujo.net> From: Ian Kelly Date: Tue, 1 Sep 2015 11:21:13 -0600 Subject: Re: Why Python is not both an interpreter and a compiler? To: Python 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1441128120 news.xs4all.nl 23857 [2001:888:2000:d::a6]:55429 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:95839 On Mon, Aug 31, 2015 at 11:45 PM, Luca Menegotto wrote: > Il 31/08/2015 19:48, Mahan Marwat ha scritto: > >> If it hasn't been considered all that useful, then why > >> the tools like cx_freeze, pytoexe are doing very hard! > > Well, I consider those tools useless at all! > I appreciate Python because, taken one or two precautions, I can easily port > my code from one OS to another with no pain. > So, why should I loose this wonderful freedom? You don't. You can still take your unbundled code and port it just as easily as before. What is gained from those tools is the ability to easily distribute your code to (Windows) users who aren't knowledgable or interested in maintaining a Python installation on their system. It's something that you don't likely use unless you have a specific need to do that, however. At my previous job where IT had everybody on Windows, we published our code with batch file launchers onto the internal file server and maintained several Python installations there to run them with, rather than maintain them on the systems of 200+ users plus lab computers. With that setup we didn't require cx_freeze, but we used it in some cases for better network performance (it's typically faster to download one large file from the network than hundreds of small files).