I'm having a new problem with my House vote script. It's returning the following error:

Traceback (most recent call last):
  File "C:/Python24/evenmorevotes", line 20, in -toplevel-
    f.write(nm+'*'+pt+'*'+vt+'*'+md['vote-result'][0]+'*'+md['vote-desc'][0]+'*'+'\n')
UnicodeEncodeError: 'ascii' codec can't encode character u'\u201c' in position 172: ordinal not in range(128) 

Here's the code: http://pastebin.com/615240

What am I doing wrong?
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to