Proccess termination

2005-01-28 Thread alexrait1
I use popen.popen2 or popen.popen3 to start a new process and read from
it's stdout/ write to it's stdin.
But I need a way to know when a process terminates. If it closes it's
stdin/stdout, it doesn't mean it has really terminated...
And if possible, I would like to see an exception thrown when that
happens..
Do you know about a library that provides these tools other then the
standard os module... or should I use it otherwise?

Thanx Alex Rait.

-- 
http://mail.python.org/mailman/listinfo/python-list


how about writing some gui to a known console application

2005-02-01 Thread alexrait1
Do something useful... (at least for me)
For instance I need a gtk frontend for pgp.
So here you can have an opportunity to learn both pyGTK and pgp. A lot
of python code... :)

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Suggesion for an undergrad final year project in Python

2005-02-01 Thread alexrait1
How about writing some gtk fronted to pgp.. That might be both useful
(at least for me) and teach you about pgp and pyGTK, that is writing
gui with python.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: how about writing some gui to a known console application

2005-02-01 Thread alexrait1
I tried to delete this message, but I guess it was too late... or it
didn't work for me... sorry anyway.

-- 
http://mail.python.org/mailman/listinfo/python-list


pyGTK warning

2005-02-03 Thread alexrait1
Hello,
GtkWarning: gtk_widget_grab_default: assertion `GTK_WIDGET_CAN_DEFAULT
(widget)' failed

I am using python gtk binding with glade.

All I did was to create a gui interface with glade (Stored as xml) and
to load it with
gtk.glade.XML("filename.glade");
Then I run it with gkt.main() and got this warning..
what can it possible be, since google seems not to know about it.
thanx.

-- 
http://mail.python.org/mailman/listinfo/python-list


popen2.Popen3 doesn't work well for me

2005-03-09 Thread alexrait1
I launch my python. Then I write this:
import popen2
popen2.Popen3("mplayer *.mpg")

it starts playing for 2 seconds.. and then stops...
if I quit python (ctrl - D)
mplayer continues to run and plays music as it should...

Any ideas?

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: popen2.Popen3 doesn't work well for me

2005-03-09 Thread alexrait1
It does but that's not what I want.  I need a class which I can query
for process termination for instance...
Is there a way to overcome this problem with Popen3?

-- 
http://mail.python.org/mailman/listinfo/python-list


searching for IDE

2005-06-12 Thread alexrait1
I need an IDE for python that has the ability to show the filds of a
class when I write "."
Just the way it works in eclipse/JBuilder with java or visual studio
with c++
For now I treid eric3 and IDLE they don't do this...

-- 
http://mail.python.org/mailman/listinfo/python-list