P
P
Python Newbie2021-08-27 16:57:11
Python
Python Newbie, 2021-08-27 16:57:11

How to run python executable without console?

How to run an application made in python and pyqt5 libraries without opening a console?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vindicar, 2021-08-28
@Vindicar

If you only want to run the script without making it an executable, then changing the script extension to .pyw should be sufficient.
If you need an executable that does not open the console, then see the answers above.

A
Aleksandr, 2021-08-27
@QQQ-RRR

Using this

Y
YexanVertuxan, 2021-08-27
@YexanVertuxan

pyinstaller -w file.py

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question