Pydoc’s built-in HTTP server

2008 September 10
tags:
by Tzury Bar Yochay

Just came across this in python mailing list (link)

import pydoc
pydoc.gui()

(then click the ‘open browser’ button)

One Response leave one →
  1. 2009 May 12

    Or simply run pydoc -p 8080, then click the link, or visit http://localhost:8080 :)

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS