Path: csiph.com!feeder.erje.net!2.eu.feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!newsfeed0.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!not-for-mail From: Ray Cote Newsgroups: comp.lang.python Subject: Re: Considering migrating to Python from Visual Basic 6 for engineering applications Date: Wed, 17 Feb 2016 16:13:52 -0500 Lines: 38 Message-ID: References: <90cc50d2-1ce5-4588-9bfd-a49d439f00dd@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de pk8En3w2Yn1IXHizq6A4OwEpFzeTzpZWoU40SgRcEo3g== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'cc:addr:python-list': 0.09; 'scripts': 0.09; 'expectation': 0.09; 'subject:Visual': 0.09; 'python': 0.10; 'python.': 0.11; 'url:org)': 0.13; 'wed,': 0.15; 'interpreter': 0.15; 'subject: \n ': 0.15; '2016': 0.16; 'binaries': 0.16; 'compile,': 0.16; 'exe': 0.16; 'pyinstaller': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'url:pyinstaller': 0.16; 'wrote:': 0.16; '>': 0.18; 'gui': 0.18; 'versions': 0.20; 'windows': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'fairly': 0.22; 'cc:no real name:2**0': 0.22; 'seems': 0.23; 'feb': 0.23; 'header:In-Reply- To:1': 0.24; "i've": 0.25; 'linux': 0.26; 'distribute': 0.27; 'points': 0.27; 'message-id:@mail.gmail.com': 0.27; 'fine': 0.28; 'equally': 0.29; 'environment': 0.29; 'creating': 0.30; 'code': 0.30; 'raymond': 0.30; 'option': 0.31; 'compiled': 0.32; 'run': 0.33; 'source': 0.33; 'received:google.com': 0.35; 'configured': 0.35; 'machines': 0.35; 'set.': 0.35; 'there': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; '(i.e.': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'environment.': 0.37; 'received:209.85.213': 0.37; 'received:209': 0.38; 'skype:': 0.38; 'building': 0.38; 'skip:p 20': 0.38; 'subject:from': 0.39; 'some': 0.40; 'your': 0.60; 'real': 0.62; 'email:': 0.62; 'more': 0.63; 'latest': 0.64; 'incredibly': 0.76; 'bundling': 0.84; 'miss.': 0.84; 'pain': 0.84; 'url:wxpython': 0.84; '8bit%:33': 0.91; 'plain-text': 0.91; 'we\xe2\x80\x99re': 0.91; 'luck': 0.95 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=appropriatesolutions.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=dcVk7aQjwvJTtfxQYbCTGUqm7/Wl9xs7Lr3cQEJZWQY=; b=BtpeGiVWxs+hTllKj/iomNLNNg2LPrzwnuyMDUVU+pUEOWl2SeyF8s4HvuWTXPwZYZ ZxS14W9zcQaDewMsZMwCtZF+NlauD1HEH5MLQyJHNip64YKOsdg+zD0nVHa54M4D6cFK tiOVU/FieFE6H5kX7jxLuC3PNXc/iuhD2yld4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=dcVk7aQjwvJTtfxQYbCTGUqm7/Wl9xs7Lr3cQEJZWQY=; b=hNPzQtgsiDO62f4jSOuYV4o7g+cnotbYu1xg1LjeIC19viOW/xh3524X+vTV/Zlp6M e39ueqHs5VKNudxeE14sWq55aJnOKel6aE95VV1C8yEcFXHUFc8mvirX0/GsTq8Nb28c qnCsXbh3rEeETKLvIgXXzzrP1cJDWuhyPXB0Op2p7pl9aL3gM2NBq7nZyeVF3wiKtFlq zqdGCD6xIypEUNpNzHxVDoHRhHW1wrT5FuJA2l6SuvtLPoZR5Y/s/0bsZAhL7XeFGroK HwYZhxuWLteKZsK7T9sKP5Y4VBWL6Hzw88MOoF5cjgngY/mSxouCIRScMY2oqspaZ/Vp +pkw== X-Gm-Message-State: AG10YOTMbKRWcBwrE4h5VSmQ5SQ0sxfW8lpkcnF/GEHoEDFXIpN1fW2VBCdfZQeL+e+xNJRdNufxDiupQj3A3w== X-Received: by 10.31.139.132 with SMTP id n126mr3242234vkd.78.1455743661859; Wed, 17 Feb 2016 13:14:21 -0800 (PST) In-Reply-To: X-Content-Filtered-By: Mailman/MimeDel 2.1.21rc2 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21rc2 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:103071 On Wed, Feb 17, 2016 at 3:54 PM, Rob Gaddi < rgaddi@highlandtechnology.invalid> wrote: > > It seems Python is used more for web based applications. Is it equally > fine for creating stand-alone *.exe's? Can the same code be compiled to r= un > on Linux or Android or web-based? > > Standalone EXEs are hit and miss. I've had best luck deploying just as > Python scripts to machines with an expectation that the environment is > already configured (i.e. Python already installed). > > You don't compile, you interpret. So long as you've got the > interpreter on the target platform you're set. The EXE tools out there > do so by bundling your plain-text source up with the interpreter > environment. > > Packaging/distribution remains one of the real pain points in Python. > Python is used for much more then web based applications. The latest versions of pyInstaller (http://www.pyinstaller.org) are incredibly good at generating single-file binaries for both Windows and Linux. We=E2=80=99re using pyInstaller to distribute applications based on some fa= irly complex frameworks=E2=80=94including wxPython (http://www.wxpython.org) which is one option for building GUI applications. =E2=80=94Ray --=20 Raymond Cote, President voice: +1.603.924.6079 email: rgacote@AppropriateSolutions.com skype: ray.cote