Re: [BangPypers] File operations

2011-10-19 Thread mahendra N
something like re.findall("resultToExportToCurveDistDialog ' ->' \ #(.*?)),RE.MULTILINE) the syntax maybe a little wrong :) 2011/10/19 Noufal Ibrahim > Shashidhar Paragonda writes: > > > Dear Noufal, > > > > Thanks for your reply > > I did in this way is it efficient way to achieve the same r

Re: [BangPypers] File operations

2011-10-19 Thread mahendra N
Have you thought of using regular expressions? You can get all the values at once.. Thanks and Regards, Mahendra Naik 2011/10/19 Shashidhar Paragonda > Dear Python hackers, > >I have a text file and the contents are like : > >#( >#

Re: [BangPypers] Parsing data

2011-09-18 Thread mahendra N
Fgt the link http://code.google.com/edu/languages/google-python-class/regular-expressions.html 2011/9/19 mahendra N > Have you thought of using regular expressions?. It might make ur job > easier. > > Checkout this link good explaination of reg exps. > > Thanks and Regard

Re: [BangPypers] Parsing data

2011-09-18 Thread mahendra N
Have you thought of using regular expressions?. It might make ur job easier. Checkout this link good explaination of reg exps. Thanks and Regards, Mahendra Naik 2011/9/18 Gopalakrishnan Subramani > Senthil and Gora Mohanty pointed out whats wrong on the code. > > This is alternative option, no