How is best to extract word strings from a 
line = infile.readline()  

I wish to quickly check the first word of 
each line of a text file. 

Indeed, How do I break a lineinput() line 
into component words (separate by spaces etc) ?

Should I be looking at; 
Re Parser Slice StringIO ? 


Any help appreciated. 




-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to