Re: [BangPypers] File read

2011-11-12 Thread Anand Balachandran Pillai
On Mon, Nov 7, 2011 at 10:56 PM, steve wrote: > Hey Shashidhar, > > Others may answer your question, I am not going to do that right away. > I'll just offer a few suggestions to clean up your code. If you do that, I > promise to answer your questions: > > a. Use os.path.join() to join path compon

Re: [BangPypers] File read

2011-11-09 Thread Ramdas S
On Mon, Nov 7, 2011 at 10:56 PM, steve wrote: Hey Shashidhar, > > Others may answer your question, I am not going to do that right away. > I'll just offer a few suggestions to clean up your code. If you do that, I > promise to answer your questions: > > a. Use os.path.join() to join path compone

Re: [BangPypers] File read

2011-11-07 Thread steve
Hey Shashidhar, Others may answer your question, I am not going to do that right away. I'll just offer a few suggestions to clean up your code. If you do that, I promise to answer your questions: a. Use os.path.join() to join path components b. You don't /have/ to read all the lines of the f

Re: [BangPypers] File read

2011-11-07 Thread Kenneth Gonsalves
On Mon, 2011-11-07 at 16:53 +0530, Shashidhar Paragonda wrote: > is my if else structure is wrong or not I am totally not getting > other idea please help > >> thank you in advance. please paste code -- regards Kenneth Gonsalves ___ BangPypers mailin