Re: I like python.

2006-10-24 Thread Jerry
Glad I could help. -- Jerry -- http://mail.python.org/mailman/listinfo/python-list

Re: I like python.

2006-10-20 Thread Fidel
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

Re: I like python.

2006-10-20 Thread Fidel
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

Re: I like python.

2006-10-20 Thread Ant
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

Re: I like python.

2006-10-20 Thread Jerry
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

Re: I like python.

2006-10-20 Thread Simon Forman
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

Re: I like python.

2006-10-20 Thread Fidel
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

Re: I like python.

2006-10-20 Thread MC
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

Re: I like python.

2006-10-20 Thread Fredrik Lundh
"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

I like python.

2006-10-20 Thread Fidel
I'm not a coder.. I'm just a person that trys to do things with languages he likes. Sometimes I'm successful, mostly not. I do know that before I bother a list with a silly question I should do my best to research for an answer myself. ala RTFM. That said my searches haven't found me what I am look