[Python-Dev] Problem with pydoc script in PEP 405 venvs (original) (raw)

Vinay Sajip vinay_sajip at yahoo.co.uk
Mon Jun 17 20:37:49 CEST 2013


Richard Oudkerk <shibturn gmail.com> writes:

Can't a batch file pydoc.bat be used?

I generally find .bat files so limiting that I never thought of that. In this case, it makes perfect sense to use one. Thanks!

@echo off VENV_PYTHON -c "import sys, pydoc; sys.exit(pydoc.cli())"

should do it.

Regards,

Vinay Sajip



More information about the Python-Dev mailing list