Re: re code

Alan Gauld via Tutor <[email protected]>
Newsgroups gmane.comp.python.tutor
Message-ID <[email protected]>
On 30/09/2023 02:50, Verizon!! via Tutor wrote:
> I have a program coded in visual basic 6.0 and want to code it in python.

That's fine, although for best results be open to new ways of
thinking about the code, don;t try to "translate" the VB to
Python. The idioms are very different.

> Florida and hoping that a python guru is close by.

This is the internet, the whole world is close-by.
The tutor list works by you asking questions (or posting
code for critique) and the list members responding with answers/comments.

> The program takes a comma delimited data file with 1400+ fields 

That's a lot of fields, however the Python csv module can cope.

> pulls out specific fields applies some calcs and formulas and outputs a report

And if the calculations get complex you might also want
to look at SciPy with Pandas(which can also read csv files
and do data crunching and reports etc)


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos



_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.