|
From: Alexander B. <bi...@uk...> - 2005-01-26 16:37:31
|
Hi! I have a little problem with application that converted to console executable with py2exe. This application can import and execute external python script, i.e. not from compiled in exe zipfile library.zip. But when I declare encoding of that external python script in form: # -*- coding: cp1251 -*- During execution I've got error: SyntaxError: "no codec search functions registered: can't find encoding" (extscript.py, line 1) extscript.py -- it's my external script that imported by exe. I guess I miss some std python library that handle encoding declaration. Can you tell me what I need explicitly add to exe? Alexander |