Python with field ; cut and paste

cam ongandong_2003 at yahoo.com.sg
Fri Jul 9 06:00:42 CEST 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 file, then the word <Where> in
another file and finally, <Are> in the 3rd file. Is this possible in
python?



More information about the Python-list mailing list