472,142 Members | 1,324 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,142 software developers and data experts.

Noob Help

I am trying to grab a text file, read it, copy one line every nth lines, (it may not always be in the same place, but it will always start with 7, ) and delete a line that has the same issue that always starts with 4,. I then want to put the line that starts with 7, in its place. Questions. How does python deal with wild cards, if at all. And I know the set for reading and writing, just not copying. Is this even possible? Any input would be great.
Sep 11 '08 #1
1 1076
511 Expert 256MB
show a sample input file, describe how your output will be.
Sep 13 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Link360 | last post: by
4 posts views Thread by jobs | last post: by
1 post views Thread by Japskunk | last post: by
3 posts views Thread by gham | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.