Re: [Tutor] How to get url call back from the browser

2017-03-01 Thread Danny Yoo
Hi Palanikumar, It looks like you're using Python 2, since you're referring to SimpleHTTPServer. But you probably do not want to use SimpleHTTPRequestHandler: it's a local file system server. The docs at https://docs.python.org/2/library/simplehttpserver.html#SimpleHTTPServer.SimpleHTTPRequestH

[Tutor] How to get url call back from the browser

2017-03-01 Thread Palanikumar Gopalakrishnan
*import SimpleHTTPServer import SocketServer PORT = 8000 Handler = SimpleHTTPServer.SimpleHTTPRequestHandler httpd = SocketServer.TCPServer(("", PORT), Handler) print "serving at port", PORT httpd.serve_forever()* I use this code to run simple *http server.* If i enter in browser in *localho