Re: [Tutor] csv module not raising exception properly [SOLVED]

2005-04-07 Thread David Rock
* David Rock <[EMAIL PROTECTED]> [2005-04-07 15:00]: > * Kent Johnson <[EMAIL PROTECTED]> [2005-04-07 15:28]: > > David Rock wrote: > > >I am trying to catch an exception from the csv module but it doesn't > > >seem to be generating a proper exception because I don't seem to be able > > >to catch i

Re: [Tutor] csv module not raising exception properly

2005-04-07 Thread David Rock
* Kent Johnson <[EMAIL PROTECTED]> [2005-04-07 15:28]: > David Rock wrote: > >I am trying to catch an exception from the csv module but it doesn't > >seem to be generating a proper exception because I don't seem to be able > >to catch it. Here is what I am doing: > > > > > >for inputline in fileinp

Re: [Tutor] csv module not raising exception properly

2005-04-07 Thread Kent Johnson
David Rock wrote: I am trying to catch an exception from the csv module but it doesn't seem to be generating a proper exception because I don't seem to be able to catch it. Here is what I am doing: for inputline in fileinput.input(args): try: input = csv.reader([inputline],

[Tutor] csv module not raising exception properly

2005-04-07 Thread David Rock
I am trying to catch an exception from the csv module but it doesn't seem to be generating a proper exception because I don't seem to be able to catch it. Here is what I am doing: for inputline in fileinput.input(args): try: input = csv.reader([inputline], escapechar='\\')