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
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
>
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
[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
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
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
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
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
[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
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
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
11 matches
Mail list logo