backslash in reading bytes

2008-03-20 Thread Dravidan
I am trying to read some byte data as a string then using a library to convert them a code: >>>reader = csv.DictReader(open('table.txt')) >>>def eleFind(value): >>> for row in reader: >>> if row['byteCode'] == value: >>> print row['Element'] >>>

Re: csv dictreader

2008-03-20 Thread Dravidan
It looks like the backslash is messing the whole thing up so I reposted to try to find out how to get over the backslash hump. On Mar 20, 2:08 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On Wed, 19 Mar 2008 11:06:40 -0700 (PDT), brnstrmrs > <[EMAIL PROTECTED]> declaimed the following in co