Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Oscar Benjamin Newsgroups: comp.lang.python Subject: Re: Considering migrating to Python from Visual Basic 6 for engineering applications Date: Thu, 18 Feb 2016 15:20:54 +0000 Lines: 33 Message-ID: References: <90cc50d2-1ce5-4588-9bfd-a49d439f00dd@googlegroups.com> <14c75a68-0d2e-45cc-8d73-0d71b6a6aea6@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de SJzYtc+tcopeVdtWuOs9Owoh6St3PmCS/FSI9ko3gaNg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'subject:Python': 0.05; 'interpreted': 0.07; 'cc:addr:python- list': 0.09; 'calculating': 0.09; 'modules.': 0.09; 'subject:Visual': 0.09; 'python': 0.10; 'python.': 0.11; 'itself.': 0.11; 'subject: \n ': 0.15; 'thu,': 0.15; '"extended': 0.16; '2016': 0.16; 'library"': 0.16; 'pypi.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'responded.': 0.16; 'wrote:': 0.16; 'language': 0.19; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'extension': 0.20; 'do.': 0.22; 'fairly': 0.22; 'environments': 0.22; 'file.': 0.22; 'trying': 0.22; 'bit': 0.23; 'feb': 0.23; 'third-party': 0.23; 'written': 0.24; 'header:In-Reply-To:1': 0.24; 'install': 0.25; 'command': 0.26; 'chris': 0.26; 'points': 0.27; 'packaging': 0.27; 'message- id:@mail.gmail.com': 0.27; 'windows,': 0.29; 'code': 0.30; 'possibly': 0.32; 'problem': 0.33; 'file': 0.34; 'received:google.com': 0.35; 'text': 0.35; "isn't": 0.35; 'sometimes': 0.35; 'step': 0.36; 'but': 0.36; 'should': 0.36; 'there': 0.36; 'received:209.85': 0.36; '(and': 0.36; 'depends': 0.36; 'limitation': 0.36; 'modules': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'two': 0.37; 'thanks': 0.37; 'doing': 0.38; 'received:209': 0.38; 'stuff': 0.38; 'anything': 0.38; 'skip:p 20': 0.38; 'someone': 0.38; 'files': 0.38; 'subject:from': 0.39; 'some': 0.40; 'easy': 0.60; 'your': 0.60; 'different': 0.63; 'price': 0.69; 'sum': 0.69; 'sounds': 0.76; '10:11': 0.84; 'dozens': 0.84; 'oscar': 0.84; 'positively': 0.84 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 :cc:content-type:content-transfer-encoding; bh=Beg9s1uIXq/YozcOAw7wFedgGk8blMsg1AVe6RzbDcc=; b=CV+TYejga0SfVVdDG46IGzVibHkCyTjIntipA4R9CKInwAAEZM4lFgTmJp5gJalsEE bE1Ud88jDEOLM5UTQ8JFkvvfdNxDIyH/DHlpRyjO1D/eukQjuuuW/WHoJOtBMMzXwY33 3ADa2qI5FV2OFG6f4iZ9aehi6diSuo4FeFDiqoFCaEQDzY160kkfsdK5twSWTgsM/ZP5 iK9WJds6Mavdk5Xr5Uss1ZxVMvdNQmPW7zpOlKafdfRAyOMyCOHbJDBe9TJh9p+B1ivT FxRz2BjrSAz4uRDnUkDSPmWNhwUrLdqViFmLd8mlDPnpcYyx7/AdzlAss1li50+8ehTT cd+w== 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:content-transfer-encoding; bh=Beg9s1uIXq/YozcOAw7wFedgGk8blMsg1AVe6RzbDcc=; b=ho2ozP/0/9HPgkAmZqtp3pkqvDXYqxbfOVHMlUOwmgCgNuV2lsooUlKqbOo3ppp4+r XzTGOeSKxUA5z6VKz0Qg0WlZ/vlbdP+gQ4/1GdgixfWP88EkKGQGuQlp1z2fMdmTbkL1 6/Ovi6FOlxZjuQQAZPZBzYBEn/z8rmfGH4S5u6iJhNpTYPwW2hvwmL7ZPKQkgcmtDEUA 8sCFaqUqaWLetlhsZ/gdA04m8lL6SYcco0QNDuP+ulGCZIJ+Nl+YOVxu+ikqkr4tk9HI PIJsY3GnWRtRIs46fZrGZLdb2GzUSdwo8yhDvVzFQWNV26k7Ygtpx4ME6WS1pjTokUwa NZ/Q== X-Gm-Message-State: AG10YOTf34hUM43n5IDn6rAsBI8fZJiwg46ZtDZ3YwugDpm84O5KCR0jUa5KOCfpKGdlqLLOx/SudOzeeNGyuw== X-Received: by 10.112.181.196 with SMTP id dy4mr3447205lbc.42.1455808874423; Thu, 18 Feb 2016 07:21:14 -0800 (PST) In-Reply-To: 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:103120 On 18 February 2016 at 11:32, Chris Angelico wrote: > On Thu, Feb 18, 2016 at 10:11 PM, wrote: >> Almost everything points positively for Python. Thanks to all of you who= have responded. But please also tell me the disadvantages of Python. If I = start using Python, I should be aware of the price I am paying. Speed is no= t a big problem for me, so an interpreted language is fine. Is packaging/in= stalling very messy? Do I create dozens of files for a simple program calcu= lating the sum of two numbers and product of two numbers in text boxes with= one command to be clicked? Can I learn this much in the first couple of ho= urs? >> > > There are a few warts, particularly on Windows, as regards packaging > and third-party modules. Anything that's written in pure Python is > fairly easy; stuff that's written in C is sometimes a bit hairy. But > that's a limitation on the "extended library" of PyPI, not the stuff > that comes with Python itself. For packaging/installing it really depends on what you're trying to do. You have to understand that Python is used in many very different ways in different environments and ecosystems so there just isn't a single way of doing it. It sounds to me as if all of your needs can be solved in pure Python code possibly using some of the popular extension modules from PyPI. In this case it's actually very easy to package/install. You can package your code simply by zipping it up with a __main__.py file. Someone who wants to install it will simply have a two step process: first install Python (and possibly a few dependencies) and then obtain the zip file with your code in it. -- Oscar