TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Python web development

19 点作者 amourgh将近 14 年前
Hello guys,<p><pre><code> I would like to develop a website with python,</code></pre> now i'm learning it via shell.i want to learn it using files like in c++,or asp.net what are some books that i can read to learn python web development? what are some tools to work with html and python. what are the databases that work with python well?

8 条评论

andybunday将近 14 年前
Depending on what you are planning on doing then it would be worthwhile to at least checkout the following:<p><pre><code> - http://flask.pocoo.org/ or http://webpy.org/ as simple lightweight alternatives to django - gunicorn or uwsgi as a wsgi server - supervisord for controlling processes - mongodb, redis, sqlite3 all have fairly complete and easy to use python apis</code></pre>
评论 #2741988 未加载
评论 #2741785 未加载
poissonpie将近 14 年前
Definitely check out Django - the documentation includes a great tutorial that will guide you through developing a web site. Well written and easy to follow.<p>For something a little more minimal, try google app engine - their getting started guide is a very simple one form web app: <a href="http://code.google.com/appengine/docs/python/gettingstarted/" rel="nofollow">http://code.google.com/appengine/docs/python/gettingstarted/</a>
jwdunne将近 14 年前
I'm no authority on the subject but Django seems like the big player when it comes to Python. I also believe they've got a free book walking you through it, but again I have no clues beyond that.<p>There is also some stuff at the end of www.learnpythonthehardway.org focusing on web dev but it doesn't use Django.<p>Also, I imagine what ever text editor you used for other things, e.g TextMate or Emacs, could work well here too. I think maybe Eclipse will do plugin because, after all, there's usually a plugin for everything with Eclipse.<p>P.S keep me posted on how you get on :)
评论 #2741697 未加载
sea6ear将近 14 年前
Easy simple ways that I can think of:<p><pre><code> - look up CherryPy - It's pretty simple to get started and a good way to learn something about both web servers and websites. - you could also check out learn python the hard way (2nd edition) toward the end it has some exercises on setting up a website using a framework based on web.py http://learnpythonthehardway.org/book/ex50.html - of course, Django is the most popular framework and so will also have the most documentation.</code></pre>
ergo14将近 14 年前
You can also consider using pyramid web framework. <a href="http://pylonsproject.org/" rel="nofollow">http://pylonsproject.org/</a><p>When it comes to databases I would advice using PostgreSQL but I guess anything will work fine, so you may stick to what you know best.
salva_xf将近 14 年前
you can try <a href="http://mongrel2.org/" rel="nofollow">http://mongrel2.org/</a> with python, look for a simple template system like <a href="http://www.cheetahtemplate.org/" rel="nofollow">http://www.cheetahtemplate.org/</a> and for sql I likes postgresql or can probe some graphdb<p>some years ago I do some webs with python but i think that nodejs or lisp is better for web develop
Meai将近 14 年前
<a href="http://www.google.at/search?sourceid=chrome&#38;ie=UTF-8&#38;q=I+would+like+to+develop+a+website+with+python" rel="nofollow">http://www.google.at/search?sourceid=chrome&#38;ie=UTF-8&#38...</a>
评论 #2742108 未加载
thdn将近 14 年前
web2py is the only way to go!
评论 #2742075 未加载