|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hii to Everyone,,
by any chance anybody know how to minimize opened .exe file or run it in background.? So, end-use want know from where it is running. I am trying to run python script on windows through other application and when it runs , DOS window shows up!! I want to minimze it or hide it. is there a way to do this? Thanks... DevHims |
|
#2
|
|||
|
|||
|
Do you mean you want to get rid of the DOS box? Then all you have to do is to give the python file an extension of .pyw, and it will open it in Windows mode without displaying the DOS box at all.
This does mean however that any output from the program will be lost, including error messages and exception tracebacks. Dave - The Developers' Coach |
|
#3
|
||||
|
||||
|
It sounds as if this is carrying on from his question about waiting for an exe to finish. So, you want to tell windows to minamize the exe while you're waiting for it?
You might want to check out Mark Hammonds Win32all extensions. http://starship.python.net/crew/mhammond/ Mark. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > How to minimize opened .exe program on windows using python? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|