Considering migrating to Python from Visual Basic 6 for engineering applications

wrong.address.1 at gmail.com wrong.address.1 at gmail.com
Fri Feb 19 06:53:03 EST 2016


On Friday, 19 February 2016 13:24:46 UTC+2, 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. 

That is what VB.net seems designed for. I know nothing about Python, and have to decide soon, so I am asking these *very stupid* questions.

> 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 

I am an engineer, and do not understand most of the terminology used there. And do I need something fancy to read a line of numbers? Should it not be built into the language?

The new languages are not designed by engineers or for engineers, so it is likely that what we take for granted may not be easy in Python. It was different when there was no such thing called "computer science" in the 1960s.

> https://docs.python.org/3/library/re.html.  Or a likely replacement for 
> the re module https://pypi.python.org/pypi/regex.
> 

Thanks.

> -- 
> 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