[python-win32] want to leave DOS console at any target dir
Charlie
charlie at sallyandcharlie.com
Thu Nov 22 07:16:49 CET 2007
bob gailer <bgailer <at> alum.rpi.edu> writes:
>
> Charlie wrote:
> > When launching a python script from a DOS console,
> > I can not find a way to leave the DOS console at a working directory
> > other than the initial working directory.
> >
> Why do you want to do this? Might there be other approaches?
>
No, the whole idea is to provide myself a convenience function to leave me at
the right subdirectory based on my python scripts results.
It's not really necessary, it just saves me a manual "CD" after the script
terminates.
More information about the python-win32
mailing list