470,849 Members | 1,358 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,849 developers. It's quick & easy.

Python with field ; cut and paste

cam
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?
Jul 18 '05 #1
1 1552
Python is a general, Turing-complete programming language, consequently
everything is possible what could be done with another
such beast. ;)

Best,
Pm

"cam" <on************@yahoo.com.sg> wrote in message
news:c4**************************@posting.google.c om...
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?

Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

699 posts views Thread by mike420 | last post: by
10 posts views Thread by Paul Kooistra | last post: by
852 posts views Thread by Mark Tarver | last post: by
8 posts views Thread by Barry Warsaw | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.