Lines Matching defs:server
19 Run "pydoc -n <hostname>" to start an HTTP server with the given
22 Run "pydoc -p <port>" to start an HTTP server on the given port on the
25 Run "pydoc -b" to start an HTTP server on an arbitrary unused port and
2288 """Start an HTTP server thread on a specific port.
2290 Start an HTML/text server thread, so HTML or text documents can be
2305 Start server thread on port 0.
2306 If you use port 0, the server will pick a random port number.
2312 Check that the server is really started. If it is, open browser
2324 Let the server do its thing. We just need to monitor its status.
2343 import http.server
2348 class DocHandler(http.server.BaseHTTPRequestHandler):
2370 class DocServer(http.server.HTTPServer):
2402 """Start the server."""
2404 DocServer.base = http.server.HTTPServer
2414 def ready(self, server):
2416 self.host = server.host
2417 self.port = server.server_port
2421 """Stop the server and this thread nicely"""
2440 """The pydoc url handler for use with the pydoc server.
2671 # Errors outside the url handler are caught by the server.
2676 """Start the enhanced pydoc web server and open a web browser.
2678 Use port '0' to start the server on an arbitrary port.
2694 cmd = input('server> ')
2822 Start an HTTP server with the given hostname (default: localhost).
2825 Start an HTTP server on the given port on the local machine. Port
2829 Start an HTTP server on an arbitrary unused port and open a web browser