Skip to content

gollowars/python-electron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python+Electronデスクトップアプリのパッケージング

require

pip install Flask
pip install pyinstaller
npm install electron-prebuilt -g
npm install request-promise -g

packaging

python packaging

pyinstaller hello.py

alter code in main.js for electron app

// develop
var subpy = require('child_process').spawn('python',['./hello.py']);

change to

// pacaking
var subpy = require('child_process').spawn('./dist/hello/hello');

electron packaging

electron-packager . sample --platform=darwin --arch=x64 --version=0.36.1

refer : Electron as GUI of Python Applications

About

python standalone app with electron

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published