akhil1988 <akhilan...@gmail.com> wrote:

> 
> akhil1988 wrote:
>> 
>> I have switched to python 3.1 , but now I am getting some syntax
>> errors in the code:
>> 
>> File "./customWikiExtractor.py", line 81
>>     __char_entities =  {'&nbsp;'   :u'\u00A0', '&iexcl;'
>>     :u'\u00A1', 
>> '&cent;'    :u'\u00A2',
>>                                             ^

You may want to try 2.6. Python 3.1 is not syntax compatible with 2.5 
(so the u'' stuff won't work in 3.1):

http://docs.python.org/dev/py3k/whatsnew/3.0.html#removed-syntax



max

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to