Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Tony van der Hoff Newsgroups: comp.lang.python Subject: Re: Considering migrating to Python from Visual Basic 6 for engineering applications Date: Fri, 19 Feb 2016 11:34:40 +0000 Lines: 26 Message-ID: References: <90cc50d2-1ce5-4588-9bfd-a49d439f00dd@googlegroups.com> <14c75a68-0d2e-45cc-8d73-0d71b6a6aea6@googlegroups.com> <9e57761f-26e1-41c5-8e71-23800de1fdd3@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de ybU4ttq9RgRJd7un/VxL0wHZ4EwzZnMw/mrP6Vn6X9Wg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'url:pypi': 0.03; 'subject:Python': 0.05; 'here?': 0.09; 'parsers': 0.09; 'subject:Visual': 0.09; 'subject: \n ': 0.15; '*before*': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'sorts': 0.16; 'trivia': 0.16; 'wrote:': 0.16; 'language': 0.19; 'lawrence': 0.22; 'header:In-Reply-To:1': 0.24; 'module': 0.25; 'install': 0.25; 'header:User-Agent:1': 0.26; 'van': 0.26; 'figure': 0.27; 'character': 0.29; 'url:python': 0.33; 'list': 0.34; 'level': 0.35; 'asking': 0.35; 'url:org': 0.36; 'alone': 0.36; 'url:library': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'things': 0.38; 'received:localdomain': 0.38; 'does': 0.39; 'subject:from': 0.39; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'mark': 0.40; 'url:3': 0.60; 'high': 0.60; 'email addr:gmail.com': 0.62; 'charset:windows-1252': 0.62; 'you.': 0.64; 'are?': 0.84; 'from:addr:tony': 0.84; 'received:192.168.1.7': 0.91 X-Virus-Scanned: Debian amavisd-new at mail.vanderhoff.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 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:103185 On 19/02/16 11:23, Mark Lawrence wrote: > On 19/02/2016 10:47, wrong.address.1@gmail.com wrote: >> >> 2 12.657823 0.1823467E-04 114 0 >> 3 4 5 9 11 >> "Lower" >> 278.15 >> >> Is it straightforward to read this, or does one have to read one >> character at a time and then figure out what the numbers are? >> > > One character at a time in a high level language like Python, please. > See http://nedbatchelder.com/text/python-parsers.html for a list of > parsers that can do all sorts for you. Or the stdlib re module > https://docs.python.org/3/library/re.html. Or a likely replacement for > the re module https://pypi.python.org/pypi/regex. > Am I alone in thinking that this wrongaddress character is trolling? How much effort can it be to just install python, and try out these simple things *before* asking trivia here? -- Tony van der Hoff | mailto:tony@vanderhoff.org Buckinghamshire, England |