On 08/09/2011 02:01 PM, MB Software Solutions, LLC wrote:
> On 8/9/2011 4:49 PM, Ed Leafe wrote:
>> On Aug 9, 2011, at 3:44 PM, MB Software Solutions, LLC wrote:
>>
>>> Talking with a non-Fox person today who wants to get into programming.
>>> She thinks Python is definitely the way she wants to go.  Reminded me of
>>> you guys here!
>> with file("my_big_text_file") as myfile:
>>      for line in myfile:
>>              # Do whatever you need to do with that line
>
> That *is* very nice!
>
> This isn't a ridiculously complicated app; it's just time consuming
> because it's dealing with gazillion fields in multiple record layouts
> across multiple file types.  This would be a good academic project for
> rewrite in Python (just after I get the production issue settled).
>
>
Michael:  I do a lot of stuff like that.  Importing very large files 
with multiple record types in one table.  I write the conversion program 
in python - create a python.exe executable - and call it from Foxpro 
with the ! /N command.

Totally cool, especially since I would really like to spend 100% of my 
time in Python.

Prior to that I always used low level file processing.

Jeff

---------------

Jeff Johnson
[email protected]
(623) 582-0323

www.san-dc.com





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to