Terry J. Reedy <tjre...@udel.edu> added the comment:

C:\Programs\Python32\Tools\Scripts>..\..\pythonw pydocgui.pyw -b
has the same behavior I described. So does -g.

The shortcut has been part of the Windows installation for many versions. It 
obviously uses pydocgui.py.

C:\Programs\Python32\Lib>pydoc.py -b
# starts one python.exe process
# prints on the next lines in the command window
Server ready at http://localhost:50695/
Server commands: [b]rowser, [q]uit
server>
# and opens blank localhost:50695 browser window
after asking for permission for python to access local network (which I gave). 
'b' at prompt opens another blank window.

C:\Programs\Python32\Lib>pydoc.py -w difflib
#prints
wrote difflib.html
#which it did, looking as expected when opened in browser, with lots of 
cross-links.

So what it seems is not working in either case is opening the html page in the 
browser or connecting it to the server.

C:\Programs\Python32\Lib>webbrowser.py python.org
opens the page in *Internet Explorer* rather than Firefox (my default browser). 
pydoc tried to connect to the server in a new FF tab.

When I re-ran pydoc and tried to open localhost:50695 in IE, it gave me the 
result of a Bing search (one help forum post), so neither browser can find 
anything at that url.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14512>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to