https://github.com/codingforentrepreneurs/python-desktop-app
Learn to build a Python Desktop GUI app using pywebview, Python, JavaScript, HTML, & CSS.
https://github.com/codingforentrepreneurs/python-desktop-app
electron-alternative gui javascript javascript-gui python python-gui pywebview tutorial
Last synced: 1 day ago
JSON representation
Learn to build a Python Desktop GUI app using pywebview, Python, JavaScript, HTML, & CSS.
- Host: GitHub
- URL: https://github.com/codingforentrepreneurs/python-desktop-app
- Owner: codingforentrepreneurs
- Created: 2021-02-16T21:47:01.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-01-24T22:50:41.000Z (almost 4 years ago)
- Last Synced: 2024-03-15T19:58:01.017Z (almost 2 years ago)
- Topics: electron-alternative, gui, javascript, javascript-gui, python, python-gui, pywebview, tutorial
- Language: Python
- Homepage: https://www.codingforentrepreneurs.com/projects/python-desktop-app
- Size: 19.8 MB
- Stars: 68
- Watchers: 5
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://www.codingforentrepreneurs.com/projects/python-desktop-app)
# Python Desktop App
Learn how to make a desktop GUI application using Python, JavaScript, HTML, & CSS all thanks to [pywebview](https://pywebview.flowrl.com/).
[pywebview](https://pywebview.flowrl.com/) is essentially a mini web-browser that you can control. It makes it really easy to write any python code to integrate directly to JavaScript. Building an app for pywebview is much like building a web application but a few key differences:
- Database optional
- Access to local users' file system
- Virtually no latency (between JavaScript and Python)
- Offline by default (no need to use the internet).
The advantage of using pywebview is that:
- Frontends can leverage web technology frontends like React, Vue, Angular, Bootstrap, Preact, and much more
- Incredibly small build size (roughly 20MB for a full application)
- Simple and powerful API
- Cross Platform (macOS, Windows, Linux)
> Code updated to work with Python 3.10 and other latest software versions.
#### Recommended skills
- [Python basics](https://cfe.sh/projects/30-days-python-38)
- [JavaScript basics](https://cfe.sh/t/javascript)
- React/Vue/Angular experience is a plus
#### Watch the [Tutorial](https://www.codingforentrepreneurs.com/projects/python-desktop-app)