DOS Python

James C. Ahlstrom jim at interet.com
Fri Oct 8 08:24:53 EDT 1999


William Tanksley wrote:

> But anyhow, this still isn't working for me, and I'm slamming up against
> a nasty deadline.  The problem is that I have to run this under pure DOS,
> and I _must_ call an external program.  When I do "import os" under wpy,
> it tells me that there's no such module.

You need to get the Python library modules and set the correct
PYTHONPATH.
Get the library from python.org.  Some module names are too long, so
include
the directory DOS-8X3 on your PYTHONPATH too.  This directory contains
truncated names.

Jim Ahlstrom




More information about the Python-list mailing list