*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
*localhost:8000.
*It will show the contents of current directory. But If i enter url like
this *localhost:8000/sometext* . It will returns 404 error. I want to get
this string in my python code to do somthing based this callback. Please
guide me to solve this issue
--
*Warm Regards,*
*Palanikumar Gopalakrishnan *[image: ✌]
*Developer*
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor