Skip to content
Advertisement

Create an electron JS desktop app with python and react js

I want to create a desktop app with Electron JS and form front end I can use React JS as I’m familiar with it. I have a good grasp of Python I checked over the internet but they all wanted me to create an API and run it on local I can do that and connect to react electron app but for distribution, I need the user to install Python as well. I know I can go for node js as a backend but I have a lot of work ready in Python like backend logic and the app will run on desktop only no need to connect to Internet for that. I need to know if I need user to install python as well. I don’t want that.

Advertisement

Answer

If you don’t want the user to have to install Python then you need to use something to package it together. Check out Pyinstaller, once you’ve created an exe it can be distributed and doesn’t require the user to install Python

https://www.pyinstaller.org/

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement