PEP263 and execfile()

Roman Suzi rnd at onego.ru
Mon Nov 17 14:12:57 EST 2003


hi!

One of my old web projects uses execfile alot, because
its data are stored in Python. How do I suppress
all those warnings

DeprecationWarning: Non-ASCII character '\xd2' in file ffff.py on line 5,
but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

in one place (preferably at execfile() call)?

Sincerely yours, Roman Suzi
-- 
rnd at onego.ru =\= My AI powered by GNU/Linux RedHat 7.3





More information about the Python-list mailing list