pickle and py2exe
justinstraube at charter.net
Mon Dec 6 03:15:27 CET 2004
On 3 Dec 2004 01:46:38 -0800, johan@ (Johan Lindberg) wrote:
>I'm assuming that your library.zip now has several encoding-files in
>it? And more specifically that you have a file called
>"string_escape.pyc" in path "encodings". Right?
I had found a stupid mistake in my setup.py. I corrected it and the .zip now has
the string_escape.pyc file in the correct path. And also the program runs as it
> # encoding= iso-8859-1
> spam= "Det här är svenska"
> print spam.decode("string-escape")
>What happens when you compile that script to an exe using the above
>(don't forget to change windows= ["spam.py"] to console= ["spam.py"])
This gives a LookupError: no codec search function registered: can't find
I then tried with the encoding package added and the .exe did print the spam
>Also you might want to try the py2exe-users list (see
Thanks, Ill check this out.
More information about the Python-list