Python:如何在没有庞大框架的情况下创建简单的网页? [英] Python: How to create simple web pages without a huge framework?
问题描述
我想知道是否可以在没有庞大的python框架的情况下创建网页.
I would like to know if there is a way to create web pages without a huge framework in python.
我想到了类似PHP/Apache之类的东西,它只是一种语言而没有太多的开销(但是我不喜欢PHP ...).在PHP中,没有ORM,没有模板引擎等.但是,仅将Hello World
打印到浏览器中非常容易.
I think of something like PHP/Apache, which comes just as a language and not with to much overhead (but I don't like PHP...). In PHP there is no ORM, no template engine, etc. But it is very very easy to just print a Hello World
to the browser.
我了解Django,并且非常喜欢它,但是对于简单的Web门户网站(5-10页)来说,它太大了.
I know about Django and really like it, but it is a bit too big for simple web portals (5-10 pages).
我真的很喜欢简单的东西,而无需安装太多.
I really like something simple, without installing too much.
推荐答案
您是否查找了烧瓶?
这是一个更加简约的框架,非常易于设置和入门.
It's a much more minimalistic framework, and very easy to set up and get started.
这篇关于Python:如何在没有庞大框架的情况下创建简单的网页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!