Re: trying to create simple py script

2012-08-10 Thread Smaran Harihar
Sorry forgot to update. I did change the port to 8000 and now server is running but I am getting a 404 page. http://128.196.142.94:8000/bottle/hello.py I have the server up right now you can see. Thanks, Smaran On Fri, Aug 10, 2012 at 11:35 AM, Smaran Harihar wrote: > Hi Lutz, > > Sorry forgot

Re: trying to create simple py script

2012-08-10 Thread Dan Stromberg
CGI's old stuff. Sure it's easy to find doc about it - it's been around longer. I'd recommend either CherryPy or Bottle - because these are the two (that I know of) that support Python 3 today. Here's a nice comparison of Python REST frameworks: http://www.youtube.com/watch?v=AYjPIMe0BhA I'm u

Re: trying to create simple py script

2012-08-10 Thread Ifthikhan Nazeem
I have been using Flask for a while and it's been a positive experience so far. It's simplicity helps you to get things done faster. On Fri, Aug 10, 2012 at 8:35 AM, Lutz Horn wrote: > Hi Smaran, > > Am Do, 9. Aug 2012, um 23:52, schrieb Smaran Harihar: > > I am trying to create a simple cgi-sc

Re: trying to create simple py script

2012-08-09 Thread Lutz Horn
Hi Smaran, Am Do, 9. Aug 2012, um 23:52, schrieb Smaran Harihar: > I am trying to create a simple cgi-script to receive a Ajax > call, manipulate the string received and send it back as JSON. I can recommend bottle. The following example manipulates a JSON request body and returns it. That is *mu

trying to create simple py script

2012-08-09 Thread Smaran Harihar
Hi Guys, I am trying to create a simple cgi-script to receive a Ajax call, manipulate the string received and send it back as JSON. Most of the people I have spoken to, seemed to be against using the cgi script, but most of the documentation and tutorials seem to point to cgi for AJAX calls. They