I made a application that has to can run in background, so I made a script.pyw but I don't know how to make a executable that can do it . can you please help me ?
Asked
Active
Viewed 65 times
-1
-
Welcome to StackOverflow. Please add your approaches, your code and say which errors you face. This is not a wishlist platform. Please also take a look at [how to ask a good question](https://stackoverflow.com/help/how-to-ask) – Dominik Mar 09 '21 at 22:20
-
3Does this answer your question? [How to convert a pyw file to exe?](https://stackoverflow.com/questions/50427713/how-to-convert-a-pyw-file-to-exe) – Jacob Lee Mar 09 '21 at 22:20
1 Answers
0
You can use pyinstaller
to do so. First, install pyinstaller
:
$ pip install pyinstaller
Then, run pyinstaller
, passing the file to convert
$ pyinstaller script.pyw --onefile --windowed

Jacob Lee
- 4,405
- 2
- 16
- 37
-
Sorry but when I execute the script.exe, there is written "failled to execute" it may is because mi code need a module – The SpeedQUEber Mar 10 '21 at 11:19