用于在 Apache 中进行 Web 开发的 Python
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/215815/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Python for web development in Apache
提问by nosklo
I've been playing with mod_python in apache2 which seems to work differently than python does in general - there's a bit different syntax and things you need to do. It's not very well documented and after a few days of playing with it, I'm really not seeing the point of mod_python at all, especially when things like php are so well documented and available.
我一直在 apache2 中使用 mod_python,它的工作方式似乎与一般的 python 不同 - 有一些不同的语法和你需要做的事情。它没有很好的文档记录,在玩了几天之后,我真的完全没有看到 mod_python 的意义,尤其是当像 php 这样的东西有很好的文档记录和可用时。
I can see how Python works well for system programming, but can anyone give any information as to why I shouldn't just dump python for a web-based application?
我可以看到 Python 如何很好地用于系统编程,但是谁能提供有关为什么我不应该为基于 Web 的应用程序转储 Python 的任何信息?

