[Python-Dev] Problem with pydoc script in PEP 405 venvs
Vinay Sajip
vinay_sajip at yahoo.co.uk
Mon Jun 17 20:37:49 CEST 2013
Richard Oudkerk <shibturn <at> 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