KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
python-electron
★ 15
Open GitHub ↗
python standalone app with electron
Download README (.md)
Explore Similar Repositories
ng2-wizard
:
No description available.
loadie
:
Android Loaders for the rest of us
locationservice
:
Service to keep a historical record of team member locations
smart-contract
:
couple of smart contracts written in solidity
framer.module.cloudstitch
:
No description available.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
python-electron
?
Download (.md)
# Python+Electronデスクトップアプリのパッケージング ## require ``` pip install Flask pip install pyinstaller npm install electron-prebuilt -g npm install request-promise -g ``` ## packaging python packaging ```terminal:shell pyinstaller hello.py ``` alter code in main.js for electron app ```Node:main.j // develop var subpy = require('child_process').spawn('python',['./hello.py']); ``` change to ```Node:main.j // pacaking var subpy = require('child_process').spawn('./dist/hello/hello'); ``` electron packaging ```terminal:shell electron-packager . sample --platform=darwin --arch=x64 --version=0.36.1 ``` refer : [Electron as GUI of Python Applications](https://www.fyears.org/2015/06/electron-as-gui-of-python-apps.html)