Re: Help with capturing error

2008-11-30 Thread tekion
Yes, you are absolutely right. I had open a file earlier and when it reach end of line with no new idea; it seems to have closed the file. I am not sure if this because I am using my own class to open and read a file or just a python behavior. I plan to test this out. On another note, is there a w

Re: Help with capturing error

2008-11-28 Thread Peter Otten
tekion wrote: > Hello, > I am getting the following error and my script is bailing out because > of it. I have tried capturing it but it does not seem to work. Below > is the error: > > ValueError: I/O operation on closed file > > > the above error is received when, the following code snippet

Re: Help with capturing error

2008-11-27 Thread Chris Rebert
On Thu, Nov 27, 2008 at 12:33 PM, tekion <[EMAIL PROTECTED]> wrote: > Hello, > I am getting the following error and my script is bailing out because > of it. I have tried capturing it but it does not seem to work. Below > is the error: > > ValueError: I/O operation on closed file > > > the above e

Re: Help with capturing error

2008-11-27 Thread Diez B. Roggisch
tekion schrieb: Hello, I am getting the following error and my script is bailing out because of it. I have tried capturing it but it does not seem to work. Below is the error: ValueError: I/O operation on closed file the above error is received when, the following code snippet is executed:

Help with capturing error

2008-11-27 Thread tekion
Hello, I am getting the following error and my script is bailing out because of it. I have tried capturing it but it does not seem to work. Below is the error: ValueError: I/O operation on closed file the above error is received when, the following code snippet is executed: try: