在Windows上设置Python环境 [英] Setup Python environment on Windows
问题描述
如何在Windows计算机上设置Python环境,以便我可以开始编写和运行Python脚本,是否有安装包?我应该使用哪个数据库?
How do I setup a Python environment on windows computer so I can start writing and running Python scripts, is there an install bundle? Also which database should i use?
我应该提到我使用这个基于Web的应用程序。它需要apache吗?或者使用另一个http服务器?
I should of mentioned that I am using this for web based applications. Does it require apache? or does it use another http server? What is the standard setup for Python running web apps?
推荐答案
从 python.org (直接链接)。如果你只是学习,使用包含的SQLite库,所以你不必干扰数据库服务器。
Download the Python 2.6 Windows installer from python.org (direct link). If you're just learning, use the included SQLite library so you don't have to fiddle with database servers.
大多数web开发框架(Django,Turbogears等)都带有一个内置的webserver命令,在没有Apache的本地计算机上运行。
Most web development frameworks (Django, Turbogears, etc) come with a built-in webserver command that runs on the local computer without Apache.
这篇关于在Windows上设置Python环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!