On Tue, Aug 9, 2011 at 3:49 PM, Ed Leafe <[email protected]> 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 pretty lean.  How does it know EOLine boundary?



-- 
Stephen Russell

Unified Health Services
60 Germantown Court
Suite 220
Cordova, TN 38018

Telephone: 888.510.2667

901.246-0159 cell

_______________________________________________
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/cajidmy+d1oq0eaenxnhwc8nfdswgv2ne_j+vww8dpfuf_zt...@mail.gmail.com
** 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