【文件属性】:
文件名称:python-app-with-electron-gui:为python应用程序制作GUI的更好方法
文件大小:342KB
文件格式:ZIP
更新时间:2021-01-30 12:21:21
electron css python c html
python-app-with-electron-gui
为Python应用制作GUI的更好方法
使用HTML,JavaScript和CSS制作高度定制的跨平台桌面应用程序,这些应用程序使用本机Python后端。
注意:这仅出于教育目的,可能不是有效的或没有错误的。 另外,这只是一个有关如何使用JS和Python进行交互的演示。 此演示无意显示人脸检测或物体检测。
一般家属
Python
节点JS
电子版
Python壳
具体依赖
天气模块:
要求
美丽的汤4
物体检测模块
烧瓶
张量流
凯拉斯
用法
克隆仓库,然后
$ cd electron-app-with-python-gui
$ pip install -r requirements.txt
$ npm install
$ npm start
如果要使用对象检测模块,请在启动GUI之前确保烧瓶服务器[object_detection.py]已启动并正在运行。
$ cd engine
$ python object_detection.py
注意:
weather_engine.py使用网络抓取功能从特定网站提
【文件预览】:
python-app-with-electron-gui-master
----.gitignore(576B)
----package.json(316B)
----requirements.txt(58B)
----main.js(2KB)
----samples()
--------3.png(207KB)
--------1.png(136KB)
----engine()
--------weather_engine.py(418B)
--------.DS_Store(6KB)
--------boot.sh(134B)
--------object_detection.py(1KB)
----README.md(1KB)
----gui()
--------images()
--------linkers()
--------object.html(2KB)
--------weather.html(717B)
--------.DS_Store(8KB)
--------gui.html(810B)
----renderer.js(171B)