On Apr 28, 2005, at 23:06, Alberto Troiano wrote:
I tried:
import os
os.system("ps --user root")
and I get
0
as a return
How can I get the PID and bind the command above with a variable?? I
mean
varusername="root"
os.system("ps --user varusername")
works???
So in essence, what you're trying t
Hi
I will make it with CRON. Thanks Max for the idea
Now I have another problem
How can I kill a process???
I know that if I run ps --user username it returns all the process started
by username even the PIDs and with kill -9 PID I destroy the process but I
don't know how to execute it from P
hello, I recently upgraded my wxpython to 2.5, now I get an error message when I try to edit a dialog in the boa constructor that says : collection body not in init, body, fin form - anyone have an idea what this means? thanks.
Jeff___
Tutor maillist -
Hello, I get an error message from py2exe that it can't find a module ntpath.py. I pasted the error message below:
Traceback (most recent call last): File "wxApp1.py", line 4, in ? File "wx\__init__.pyc", line 42, in ? File "wx\_core.pyc", line 4, in ? File "wx\_core_.pyc", line 9, in ? Fil
Hi list !
Does anyone here knows of a way to connect to ICQ with Python?
Thanks in advance.
--
1. The day Microsoft makes something that doesn't suck is probably the
day they start making vacuum cleaners.
2. Unix is user friendly - it's just picky about it's friends.
3. Documentation is like sex:
> OK Alan, I thing I have seen the light!!.
Almost. :-)
>
-
> def print_options():
>print "--"
>print "Options:"
>print "a. print options"
>print "f. quit the prog