[PyKDE] DeprecationWarning when importing pyrcc4 generated module

Javier Sanz jsceballos at gmail.com
Wed Aug 23 20:31:59 BST 2006


Hi.
I'm using pyrcc4 to convert the images my program uses to a an
import-able python module. I'm doing it successfully, but I'm getting
this warning whenever I import the resource module:

DeprecationWarning: Non-ASCII character '\xe9' in file
C:\prog\python\ogbot\src\ui\BotResources.py on line 3, but no encoding
declared; see http://www.python.org/peps/pep-0263.html for details
 import BotResources

Any help appreciated.
PD: I'm using QT 4.1, PyQt v4 and python 2.4

-- 
Un saludo,

    Javier




More information about the PyQt mailing list