Advice Needed re: MS-DOS/Win 98 as Python environment
zenguyuno at yahoo.com
zenguyuno at yahoo.com
Fri Jan 24 20:19:11 EST 2003
Frederick Bartlett wrote:
<snip>
> In autoexec.bat, which is in your root directory, inspect the PATH
> statement. It'll look like this:
> path C:\WINDOWS;C:\WINDOWS\COMMAND;c:\windows\system
> Change it so it looks like
> path C:\WINDOWS;C:\WINDOWS\COMMAND;c:\windows\system;c:\python22
> Then set your PYTHONPATH to point to any necessary directories; e.g.,
> set PYTHONPATH=C:\python22\lib\site-packages\DCOracle2
> (which I need to access Oracle db's)
>
> To change the default directory of your command prompt, edit its pif.
> Right-click on the command prompt icon; choose Properties and the
> Program tab, and you'll see what to do. You can even set up a
> python-specific batch file to run if you need to.
>
> Then restart Windows; python should work hitchlessly.
Thank you, I will try that. What's a pif?
More information about the Python-list
mailing list