New file plus cut and paste fields

cam ongandong_2003 at yahoo.com.sg
Thu Jul 8 23:33:35 EDT 2004


Does python support text field editing like the awk command? in awk,
we're allow to extract a certain field and output it to another file.

however, I've tried search for this in python but to no avil. anyone
can help? thanks! for example..in python..I have this..
<Hello Where Are>

Ok, I wanna put the <hello> in one new file, then the word <Where> in
another new file and finally, <Are> in the 3rd file. Is this possible
in python?



More information about the Python-list mailing list