如何使用Python和静态网页(HTML、CSS和JS)创建移动应用程序。

huangapple go评论78阅读模式
英文:

How create a mobile app with python and static web (html, css and js)

问题

我正在寻找一种创建 Python 桌面 GUI 程序的方法,在搜索过程中我发现了名为 'eel' 的包,并且我喜欢它的工作方式,因为它的视觉应用是通过 HTML、CSS 和 JavaScript 创建的。它可以创建一个桌面应用程序,所以我有这个问题:有没有一种可以使用 HTML、JavaScript 和 CSS 创建移动应用程序的方法,就像我们可以使用 Kivy 做的那样?

英文:

I'm searching for a way to create a python desktop gui program, and in the search I find the package named 'eel' and I liked how it works, because the visual application is made with html, css and javascript. It create a desktop application, so I'm with this question: have a way to create a mobile application, like we can do with kivy, using html, javascript and css?

答案1

得分: 1

请查看渐进式Web应用程序,它们可能会引起您的兴趣:
https://en.wikipedia.org/wiki/Progressive_web_app
https://web.dev/learn/pwa/

使用Django的示例(我在互联网上找到的第一篇文章):
https://medium.com/beginners-guide-to-mobile-web-development/convert-django-website-to-a-progressive-web-app-3536bc4f2862

使用Flask的示例(同样是我在互联网上找到的第一篇文章):
https://medium.com/@tristan_4694/how-to-create-a-progressive-web-app-pwa-using-flask-f227d5854c49

另外据我所知,Toga允许您使用HTML和CSS进行样式设置:
https://toga.readthedocs.io/en/stable/

英文:

Check out progressive web applications, they may interest you:
https://en.wikipedia.org/wiki/Progressive_web_app
https://web.dev/learn/pwa/

example with Django (first article found by me in the Internet)
https://medium.com/beginners-guide-to-mobile-web-development/convert-django-website-to-a-progressive-web-app-3536bc4f2862

example with flask (also first article found in the Internet)
https://medium.com/@tristan_4694/how-to-create-a-progressive-web-app-pwa-using-flask-f227d5854c49

Also as far as I know Toga allows you to use html and css for styling.
https://toga.readthedocs.io/en/stable/

huangapple
  • 本文由 发表于 2023年6月8日 03:11:05
  • 转载请务必保留本文链接:https://go.coder-hub.com/76426415.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定