Answers for "how to make application using python"

5

how to launch an application using python

import subprocess

subprocess.Popen("C:\\Windows\\System32\\notepad.exe") #This will launch notepad But you can enter the path of an executable and this will launch it.
Posted by: Guest on August-31-2021
2

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
Posted by: Guest on August-26-2020

Code answers related to "how to make application using python"

Python Answers by Framework

Browse Popular Code Answers by Language