Python with field ; cut and paste

Miklós nospam at nowhere.hu
Sat Jul 10 18:15:38 EDT 2004


Python is a general, Turing-complete programming language, consequently
everything is possible what could be done with another
such beast. ;)

Best,
Pm

"cam" <ongandong_2003 at yahoo.com.sg> wrote in message
news:c4a3a748.0407082000.267854e2 at posting.google.com...
> 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