Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Finding a word in a file  RSS feed

 
pradeep anandan
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friends,
I have a problem .
In my text file there is a word "Start" which normally will be present with in the 5th line of the file.
My doubt is to how to find the word and append a String after the word "Start" and which type of File acess will be better.
Regards,
Pradeep
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!