importing modules

David Bolen db3l at fitlinxx.com
Wed Jul 25 18:13:27 EDT 2001


dedalus at yifan.net (Duilio Foschi) writes:

> >Where did you get this from?  
> 
> http://www.hvision.nl/~ivnowa/newsite/Python/Python-DX/python-dx.html
> 
> "Hans Nowak's Python-DX is a version of Python for 32-bit DOS.
> Python-DX is equivalent to Python 1.5.2, but Hans no longer maintains
> it, so it's doubtful that Python 1.6 will be supported. "
> 
> 
> what shoud I do ?

Notice that below the download section on that page it says:

    "NOTE: These are only the binaries (executable file)! You will also
    need the standard library. I suggest you grab the latest version from
    http://www.python.org ... there's also lots of documentation
    there. You might want the source distribution, too, if only for the
    useful demo and example programs."

This zip file only has the python executable.  You still want the
"lib" directory contents from the standard Python 1.5.2 distribution.

It seems to work fine with a normal Python 1.5.2 library (although I'm
not quite sure about some of the modules with a longer than 8.3
filename).  You may need to tweak site.py (or just set PYTHONPATH in
your environment) to be sure that it can find the library files.

The WPY archive DOS version (accessible from the python.org DOS pages
at http://www.python.org/download/download_dos.html) also have a
pylib.zip file that has a zipped copy of the library files, including
a DOS-8X3 directory for handling those with longer than 8.3 names.

--
-- David
-- 
/-----------------------------------------------------------------------\
 \               David Bolen            \   E-mail: db3l at fitlinxx.com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \
\-----------------------------------------------------------------------/



More information about the Python-list mailing list