Considering migrating to Python from Visual Basic 6 for engineering applications
Mark Lawrence
breamoreboy at yahoo.co.uk
Fri Feb 19 06:23:59 EST 2016
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.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
More information about the Python-list
mailing list