how to create an app with python code example
Example 1: build a python app
pyinstaller needed
pip install pyinstaller
on windows cmd write:
pyinstaller.exe --onefile --debug=all --windowed --name=myApp --icon=img/app.ico --paths venv/path/site-package app.py
--onefile include all in one file, optional
--debug debug at app s launch, NOT use --windowed
--windowed for gui applications, optional
--name app name, optional
--icon app s icon, optional
app.py main file of the project
Example 2: how to create a react app from scratch
// In npx ->
npx create-react-app my-app
// In npm ->
npm init react-app my-app
// In yarn -->
yarn create react-app my-app