本地Web应用程序的推荐python库/框架? [英] Recommended python library/framework for local web app?

查看:192
本文介绍了本地Web应用程序的推荐python库/框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用Python创建一个简单的本地Web应用程序.

Web服务器和后端"代码将与UI在同一系统(最初是Windows系统)上运行.我怀疑这很重要,但是用户界面将是Google Chrome,HTML,CSS,JavaScript和jQuery的典型Webish组合.

有很多基于Python的Web编程框架,但它们似乎都是为构建具有大量后端基础结构的复杂的大型应用程序而设计的.我想要相反的情况:非常简单,轻巧且易于独立的东西-足够的Web服务器和框架来创建/支持本地Web应用程序.

建议?

解决方案

我认为 web2py 可能是个不错的解决方案这里.它不需要安装,也没有依赖关系(它甚至带有自己的Python解释器以及Web服务器和SQLite数据库).您甚至可以将应用程序作为Windows进行分发或Mac二进制文件(包括web2py),用户无需安装即可轻松在本地运行它.

I want to create a simple LOCAL web app in Python.

The web server and "back-end" code will run on the same system (initially, Windows system) as the UI. I doubt it matters, but the UI will be a typical webish combo of Google Chrome, HTML, CSS, JavaScript, and jQuery.

There are a TON of Python-based web programming frameworks, but they all seem designed for building sophisticated, large-scale apps with lots of back-end infrastructure. I want the opposite: Something very simple, lightweight, and easily self-contained--just enough web server and framework to create/support a local web app.

Suggestions?

解决方案

I think web2py might be a geat solution here. It requires no installation and has no dependencies (it even comes with its own Python interpreter as well as a web-server and the SQLite database). You can even distribute your application as a Windows or Mac binary (including web2py), and users can easily run it locally with no installation.

这篇关于本地Web应用程序的推荐python库/框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆