[Python-bugs-list] [ python-Bugs-407301 ] Win32: pydoc command isn't executable
nobody
nobody@sourceforge.net
Fri, 09 Mar 2001 05:46:46 -0800
Bugs #407301, was updated on 2001-03-09 05:46
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=407301&group_id=5470
Category: Python Library
Group: None
Status: Open
Priority: 5
Submitted By: Paul Moore
Assigned to: Nobody/Anonymous
Summary: Win32: pydoc command isn't executable
Initial Comment:
The Python 2.1b1 binary installer for Windows supplies
a small "pydoc" script in the main Python executable
directory. However, this script is Unix-specific and
does not work on Windows.
Suggestion: for Windows, include a trivial pydoc.bat
file to start pydoc. The following one-liner works:
--- pydoc.bat ---
@python -c "import pydoc; pydoc.cli()" %*
-----------------
The only problem with this version is that it uses the
version of python.exe found on PATH, rather than the
version in the directory containing pydoc.bat.
However, as the Unix script has the same issue, this
can be viewed as a "feature"...
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=407301&group_id=5470