keybraker / python-gui-electron

A simple example on how to create electron GUIs for python programs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Thank you very much for your project!

hismeyy opened this issue · comments

Thank you very much for your project. How can I package it? Is it possible to package it as a Windows executable (exe) file?

was wondering the same, missed out something about it in the README

This is out of scope for this showcasing. The idea behind this project is to display a way for someone to develop a front end for their python application, there are apps like PyInstaller with which you can build an executable for your python code and electron-packager or electron-builder to build an exe for the electron front end.

Than you can use applications to bundle those executables like Inno Setup or NSIS in order for the backend to be called as a subprocess.

I hope this helps

@joralgra and @hismeyy , no disrespect to Electron or @keybraker 's excellent work here, but what you are describing is actually really easy to do with with pywebview + PyInstaller.

@riziles there is no disrespect, this is the whole reason why this exists (to help people build things). So thank you for your input.