error occur when using py2exe

engsol at teleport.com engsol at teleport.com
Tue Jul 31 12:58:46 EDT 2001


On Mon, 30 Jul 2001 23:23:02 +0800 (CST), "sdf" <wqh-2 at 263.net> wrote:

>I type the following,but error appear.

>I put the the myscript.py file  under d:/python21/program/

>I think I must give a directory to the setup ,but when I use

>setup(name="myscript",scripts=["/program/myscript.py"],)

>error also jump out. How can I fix it 

Don't you need to 'escape' the path slashes?

"C:\\dir\\file.py" for example?

engsol (python newbie)



More information about the Python-list mailing list