strange import error with Python-2.4.1
robin at reportlab.com
Tue Oct 11 16:03:14 CEST 2005
Fredrik Lundh wrote:
> Steve Holden wrote:
>>Can I ask if you are specifying a source encoding in your file with a
>>pragma (?) like
>># -*- coding: iso-8859-15 -*-
>>I've noticed what appear to be spurious syntax errors from time to time
>>on such files, and have been attempting to debug the problem for some
>>time without any apparent success.
thanks that looks like it, the __init__.py had
# -*- coding: cp1252 -*-
at the start.
More information about the Python-list