[Tutor] re code
Alan Gauld
alan.gauld at yahoo.co.uk
Sat Sep 30 08:17:12 EDT 2023
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
More information about the Tutor
mailing list