Re: hide python window, con'td

2006-05-26 Thread Larry Bates
It is just the nature of "things that run in the background all day" to be things that should probably be daemons or services. They almost always sleep, check, process, sleep, ... and as windows services do that better than processes in loops that sleep. They are daunting at first, but services ar

Re: hide python window, con'td

2006-05-26 Thread Robin Becker
Larry Bates wrote: > Something that runs all day in the background is a perfect candidate > for being turned into a Service. That and servicemanager has a good > way of managing the task so that it doesn't take up lots of excess > CPU cycles that a "normal" application would take while sleeping >

Re: hide python window, con'td

2006-05-26 Thread Larry Bates
Something that runs all day in the background is a perfect candidate for being turned into a Service. That and servicemanager has a good way of managing the task so that it doesn't take up lots of excess CPU cycles that a "normal" application would take while sleeping or unnecessarily looping. Pi

RE: hide python window, cont'd

2006-05-26 Thread Tim Golden
[John Salerno] | | Bell, Kevin wrote: | > Bell, Kevin wrote: | >> Great! And now that it's hiding w/ .pyw, how would I kill it if I | > want? | >> Just log off, or is there a better way? | >> | >> Kevin | >> | >> | > | >>> JOE WROTE: | >>> Close it in the Task Manager? | > | > | > I don't see

Re: hide python window, cont'd

2006-05-26 Thread John Salerno
Bell, Kevin wrote: > Bell, Kevin wrote: >> Great! And now that it's hiding w/ .pyw, how would I kill it if I > want? >> Just log off, or is there a better way? >> >> Kevin >> >> > >>> JOE WROTE: >>> Close it in the Task Manager? > > > I don't see it in the task manager. > > You might have to

RE:RE: hide python window, cont'd

2006-05-26 Thread Bell, Kevin
Bell, Kevin wrote: > Great! And now that it's hiding w/ .pyw, how would I kill it if I want? > Just log off, or is there a better way? > > Kevin > > >>JOE WROTE: >>Close it in the Task Manager? I don't see it in the task manager. -- http://mail.python.org/mailman/listinfo/python-list

Re: hide python window, con'td

2006-05-26 Thread John Salerno
Bell, Kevin wrote: > Great! And now that it's hiding w/ .pyw, how would I kill it if I want? > Just log off, or is there a better way? > > Kevin > > Close it in the Task Manager? -- http://mail.python.org/mailman/listinfo/python-list

hide python window, con'td

2006-05-26 Thread Bell, Kevin
Great! And now that it's hiding w/ .pyw, how would I kill it if I want? Just log off, or is there a better way? Kevin -- http://mail.python.org/mailman/listinfo/python-list

RE: hide python window

2006-05-26 Thread Tim Golden
[Bell, Kevin] | When I run a script, how can I make it run in the background? I don't | want to see the command window because it runs all day. I'm on | windows... Broadly, two options (depending on what "in the background" means): 1) Complex, but complete: run it as a service. See the example

Re: hide python window

2006-05-26 Thread Luis Armendariz
Bell, Kevin wrote: > When I run a script, how can I make it run in the background? I don't > want to see the command window because it runs all day. I'm on > windows... > > Hi Kevin, Rename your kevin_script.py to kevin_script.pyw (so that it runs with pythonw.exe instead of python.exe). -Lu

hide python window

2006-05-26 Thread Bell, Kevin
When I run a script, how can I make it run in the background? I don't want to see the command window because it runs all day. I'm on windows... -- http://mail.python.org/mailman/listinfo/python-list