Hi
 
I am using Python 2.5 on Windows XP.
 
I have produced a short script, called 'project.py', which displays a menu, allowing the user to select an option. Depending on what they choose, it then runs a separate script, such as 'refund.py', 'changeover.py', 'seasonref.py' or 'priv.py'
 
I have run this as a python script and via the command line, but when I use py2exe to create an executable, it doesn't work.
 
My original setup file looked like this;
 
from distutils.core import setup
import py2exe
setup(
    console = [
        {
            "script": "changeover.py",                 
            "icon_resources": [(0, "tickets.ico")]     ### Icon to embed into the PE file.
        }
    ],
)
 
So I tried changing it to this;
 
from distutils.core import setup
import py2exe
setup(
    console = [
        {
            "script": "changeover.py",                
     "script": "refund.py",   
     "script": "seasonrefund.py",
     "script": "priv.py",
     "script": "project.py",
            "icon_resources": [(0, "tickets.ico")]     ### Icon to embed into the PE file.
        }
    ],
)
 
And had no more success.
 
Any ideas? I would like to keep them as separate scripts, because each one could be quite involved.
 
Thanks
Chris
 
Chris Cordner
Area Retail Skills Assessor
 
Northern Rail Limited
Bradford Interchange
Bridge Street
Bradford
BD1 1JY
 
Tel: 07764 796 275
Email: chris.cordner@northernrail.org
 
www.northernrail.org


Attention:

This email is confidential and intended for the named addressee only.

Any views or opinions expressed and presented are those of the author
and do not necessarily represent those of Northern Rail Ltd.

If you are not the intended recipient then you have received
this email in error and any use, disclosure, forwarding, printing,
copying and distribution is strictly prohibited.

If you have received this transmission in error please contact and
notify the sender. Thank you for your co-operation.

This email was scanned and cleared by the Northern Rail Ltd Information Services Department.