Glad I could help.
--
Jerry
--
http://mail.python.org/mailman/listinfo/python-list
Thank you Jerry. That was exactly what I was looking for. The script
in fact does call an external program and give it a command from a
randomized list. Specifically it is a random wallpaper setter using
the windows version of bsetroot. script scans a directory, creates a
list of viable walls and
Although I just noticed that if the extension is .py then it will
still open a command window. It does indeed need to have a .pyw
extension for this to work. So all of you were correct. it needs to
use popen and have .pyw as the extension in order for python not to
open a command window. Thank you
Fidel wrote:
> Renaming the file doesn't work. I am on windows... There is a specific
> line of code that tells python not to bother even opening a window.
Seriously, renaming the script to .pyw should work from a standard
python install. If it doesn't then the file handler for that extension
mus
On Oct 20, 2:59 am, Fidel <[EMAIL PROTECTED]> wrote:
> Could someone please tell me what I need to put into a python script
> to not have a window come up however briefly? Like when I double click
> on the script, it will do it's job but won't open a command window
> then close it.. I hope that exp
Fidel wrote:
> Renaming the file doesn't work. I am on windows...
Are you sure? Double-clicking on a *.pyw script file really brings up
a window? Is it a GUI window or a console window? I ask because if
it's a console window and you're really clicking on a .pyw file then it
really should run wi
Renaming the file doesn't work. I am on windows... There is a specific
line of code that tells python not to bother even opening a window. of
any sort for any amount of time. I just don't know what it is and
haven't been able to find any reference to it Thanks for the help
though.
>assuming Wi
Hi!
Sorry, I don't understand well english.
But, try to rename your script, from .py to .pyw (sample : titi.py ==>
titi.pyw).
--
@-salutations
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
"Fidel" wrote:
> Could someone please tell me what I need to put into a python script
> to not have a window come up however briefly?
assuming Windows, and assuming that you have a standard Python install for
Windows: use "pyw" instead of "py" as the script's extension.
(Windows applications com