On Mon, 18 Aug 2008 21:43:43 +0000 (UTC), Wojtek Walczak wrote: > On Mon, 18 Aug 2008 13:40:13 -0700 (PDT), Alexnb wrote: >> Now, I am talking 1000's of these. I need to do something like this. I will >> have a number, and what I want to do is go through this text file, just like >> the example. The trick is this, those "()'s" are what I need to match, so if >> the number is 245 I need to find the 245th () and then get the all the text >> from after it until the next (). If you have an idea about the best way to >> do this I would love your help. If you made it all the way through thanks! >> ;) > > findall comes to mind:
...forget it, I misread your post :) -- Regards, Wojtek Walczak, http://www.stud.umk.pl/~wojtekwa/ -- http://mail.python.org/mailman/listinfo/python-list