<br>CGI's old stuff.  Sure it's easy to find doc about it - it's been around longer.<br><br>I'd recommend either CherryPy or Bottle - because these are the two (that I know of) that support Python 3 today.<br>
<br>Here's a nice comparison of Python REST frameworks:<br><br><a href="http://www.youtube.com/watch?v=AYjPIMe0BhA">http://www.youtube.com/watch?v=AYjPIMe0BhA</a><br><br>I'm using CherryPy on Python 2.7 with the ruby-on-rails-like "Routes" dispatcher.<br>
<br>Bottle does sound pretty nice.<br><br><div class="gmail_quote">On Thu, Aug 9, 2012 at 9:52 PM, Smaran Harihar <span dir="ltr"><<a href="mailto:smaran.harihar@gmail.com" target="_blank">smaran.harihar@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Guys,<div><br></div><div>I am trying to create a simple cgi-script to receive a Ajax call, manipulate the string received and send it back as JSON.</div>
<div>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 said, it makes more sense to use django or bottle which are python web framework.</div>


<div><br></div><div>So I am confused and wanted some guidance as to which should I chose? Should I go with cgi or django/bottle?<span class="HOEnZb"><font color="#888888"><br clear="all"><div><br></div>-- <br>Thanks & Regards<div>
Smaran Harihar</div><br>
</font></span></div>
<br>--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
<br></blockquote></div><br>