[python-win32] Setting PYTHONSTARTUP

DogWalker forestiero@qwest.net
Mon, 6 Jan 2003 17:15:45 -0800


Create a shortcut to the pythonwin executable with your script directory in
the Start In item?

----- Original Message -----
From: "Tony Cappellini" <tony@tcapp.com>
To: "Jim Vickroy" <Jim.Vickroy@noaa.gov>
Cc: <python-win32@python.org>
Sent: Sunday, January 05, 2003 10:25 PM
Subject: Re: [python-win32] Setting PYTHONSTARTUP


>
> > >>Tony, I believe PYTHONSTARTUP is only used by the interactive
> > **command** line
> > >>interpreter; if you enter *python* on a command line, you should see
> > your print
> > >>statement.
>
> Ok- so how do I get PythonWin to cd into the directory where my scripts
> are, when it is launched, so I dont have to do it manually each time ?
>
>
>
> >Tony Cappellini wrote:
> >
> > > I've added the PYTHONSTARTUP variable to control panel, on Win2000,and
put
> > > a print statement in the file, so I know IF it's being executed.
> > > After launching PythonWin, I never see the print statement, nor the
effects
> > > from changing directories, which I've also added to the file pointed
to by
> > > PYTHONSTARTUP..
> > >
> > > Strangely enough, neither IDLE, Ipython, nor PythonW32 see the startup
> > > file, so what am I doing wrong ?
> > >
> > > thanks
> > >
> > > _______________________________________________
> > > Python-win32 mailing list
> > > Python-win32@python.org
> > > http://mail.python.org/mailman/listinfo/python-win32
>
>
> _______________________________________________
> Python-win32 mailing list
> Python-win32@python.org
> http://mail.python.org/mailman/listinfo/python-win32
>