Hack Forums
[Python] execute python script ( don't show console windows) - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Python] execute python script ( don't show console windows) (/showthread.php?tid=6089832)



execute python script ( don't show console windows) - sara_221540 - Jun 24, 2020

hello
i want to execute python script silently( hide console windows)
how to do that?????
i tried to change script name .py to .pyw
but the application failed to work


RE: execute python script ( don't show console windows) - Xamarin - Jun 24, 2020

https://stackoverflow.com/questions/764631/how-to-hide-console-window-in-python

Look at the fourth answer.

If you don't start working/searching harder, you won't accomplish shit in this field man.


RE: execute python script ( don't show console windows) - Riԁdle - Jun 24, 2020

Crazy to think people use the forums like a search engine..


RE: execute python script ( don't show console windows) - unix - Jun 24, 2020

literally just put an
Code
&
at the end of calling the script to run