I have some experience with Python scripting, but have only created web apps with PHP. I do NOT want to use a framework due to a few problems it may cause. So can I use Python to create web apps without a framework? Is it worth it?
Okay - as a person that recently made the transition:<p>Flask,Jinja2 + bootstrap + learn python functools.wraps<p>Flask just makes the dispatch and routing. Jinja templates are very close to smarty. You can make a site runing in a second. Also a benefit of using flask is that you have ready WSGI app that you can put on gevent or tornado.<p>If some of your output is prematurely truncated if you are behind HAProxy - check tornado keep alive settings. (not relevant but took me 2 days to figure it out)
If you don't want to use a framework then you should use a micro framework like Flask: <a href="http://flask.pocoo.org/" rel="nofollow">http://flask.pocoo.org/</a><p>This is essentially gives you the tools to get started and not much else. You don't want to have to reinvent protocols like Wsgi in order to run fast python code.