pydoc :
alt1:
C:\path\PythonXX\python.exe C:\path\PythonXX\Lib\pydoc.py -k/p/g/w X:\path\file_to_doc.py
alt2:
python -m pydoc -k/p/g/w X:\path\file_to_doc.py
, duh. Windows python "" .
Windows:
. , , - "" . "" "", , . , , , , . , , Python : X:\subfolders\PythonXX\ Path, :
X:\\\\-; X:\\PythonXX\
";" , . , , /, cmd.exe.
pydoc.py
, pydoc python lib, python. Windows, , , . pydoc.py :
windows cmd.exe:
X:\infolders\Python27\python.exe X:\subsfolders\Python27\Lib\pydoc.py
pydoc.py:
pydoc.py , :
-k/p/g/w pydoc.py-.
:
- , x:\pathtofile\filename.suffix, . :
alt1:
X:\infolders\Python27\python.exe X:\subsfolders\Python27\Lib\pydoc.py -w X:\path\file_to_doc.py
alt2 ( python):
python -m pydoc -w X:\path\file_to_doc.py
"w" - HTML- , . , pydoc.py( ) . , , .
-m
From what I can find, -m seems to be processing registry entries, at least in msiexec.exe. I suggest that it can be used for programs in general in this way. Therefore, my speculative idea is that if "-m" is used, the paths of the chasing arguments will be rewritten so that the .exe file is used as a path reference. But, as said, rather speculative.
-m Replaces all required registry entries for the computer. (in msiexec.exe) According to Microsoft