如何使用Python和HTML构建桌面软件? [英] How to use Python and HTML to build a desktop software?

查看:204
本文介绍了如何使用Python和HTML构建桌面软件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

也许我的问题很愚蠢,但我仍然想问。

我一直想知道是否可以使用Python,HTML和Css开发桌面软件。我知道有一些不错的GUI框架,例如Qt,Tk等。但是HTML和JS框架的各种来源对我来说仍然很有吸引力。我的意思不是说软件就像网络应用程序一样,那里有一个前端,Python也充当服务器端语言。我的意思是像其他GUI框架一样使用Python。我可以创建由HTML和Css构建的小部件。


有没有具有此功能的框架?我知道有 app.js 用于Javascript。还是我认为是错误的。

Maybe my question is stupid but I still want to ask.

I am always wondering whether I can use Python, HTML and Css to develop a desktop software. I know there are alrealy several good GUI frameworks like Qt, Tk and etc. But the various sources of HTML and JS frameworks are still attractive to me. I don't mean a software which is just like a web application where there is a frontend and Python acts as a server side language either. I mean use Python like other GUI frameworks. I can create widgets built by HTML and Css.

Dose there any framework have this function? I know there is app.js for Javascript. Or what I think is wrong.

推荐答案

查看 pyjs

pyjs是一个富Internet应用程序( RIA)针对Web和桌面的开发平台。使用pyjs,您可以完全使用Python编写基于JavaScript的Web应用程序。

pyjs is a Rich Internet Application (RIA) Development Platform for both Web and Desktop. With pyjs you can write your JavaScript-powered web applications entirely in Python.

这篇关于如何使用Python和HTML构建桌面软件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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