[Tutor] Problem making '.exe' from python.

Chris Hengge pyro9219 at gmail.com
Fri Nov 17 22:32:37 CET 2006


Just wanted to wrap that up so nobody wastes time replying.

I've fixed my Inno scripts and all my packages work now, case closed!

Thanks again Jason.

On 11/17/06, Chris Hengge <pyro9219 at gmail.com> wrote:
>
> Awesome! Thank you!
>
> This has been driving me crazy for weeks.
> Now to figure out how to tell Inno to add that to a link, and I'm on my
> way!
>
> On 11/17/06, Jason Massey <jason.massey at gmail.com> wrote:
> >
> > Check to make sure that under the shortcut properties that you have the
> > "Start in" field filled out with the directory the script is located.
> >
> > On 11/17/06, Chris Hengge <pyro9219 at gmail.com> wrote:
> >
> > >  Whether using py2exe or pyInstaller I've noticed a problem and I'm
> > > not sure how to fix it...
> > >
> > > When I create a .exe and then make a shortcut to the file and run it..
> > > the program will crash without warning.
> > > If I run the .exe directly it runs fine.
> > >
> > > My assumption of the problem:
> > > Since it is still built on python and my variables for files or module
> > > calls are designed for "they are in the same location I run the script from"
> > > when I run the script from a shortcut it will fail finding the wanted
> > > pieces.
> > >
> > > Is this true? And if so, how do I fix it? I could write fixed paths
> > > into my code, but that is unrealistic and makes running my scripts to test
> > > them a pain.
> > >
> > > Thanks.
> > >
> > > _______________________________________________
> > > Tutor maillist  -  Tutor at python.org
> > > http://mail.python.org/mailman/listinfo/tutor
> > >
> > >
> > >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20061117/d7792e30/attachment.htm 


More information about the Tutor mailing list