Considering migrating to Python from Visual Basic 6 for engineering applications

Tony van der Hoff tony at vanderhoff.org
Fri Feb 19 06:34:40 EST 2016


On 19/02/16 11:23, Mark Lawrence wrote:
> On 19/02/2016 10:47, wrong.address.1 at 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 at vanderhoff.org
Buckinghamshire, England |



More information about the Python-list mailing list