Alternative to subprocess in order to not wait for calling commands to complete

2012-05-14 Thread ks
Hi All,

>From within one Python program, I would like to invoke three other
Python programs. Usually I would use the subprocess module to invoke
these sequentially. I now have a use case in which I must invoke the
first one (not wait for it to complete), then invoke the second
(similarly not wait for it to complete) and then go on to the third.

I am not sure where I should start looking to be able to do this. I am
reading about threads and forking and there are many options out
there. So I was wondering if anyone might have suggestions on where I
can start.

Any hints/references would be very helpful!

Thank you,
ks
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: print to screen and file with one print statement

2014-08-27 Thread KS
Hi Mike/Ami,

Can you please let me know where do I add flush(self) and get 
sys.stdout.flush() to work?

Thanks,
KS
-- 
https://mail.python.org/mailman/listinfo/python-list


Invalid error in python program

2018-07-08 Thread Prafull Ks
I miss studying in class 11 cbse.College as introduced us python. I
installed it in my laptop but when I save and runed in idle mod. The 3.7.0
the 7 is highlighted and syntax error is showen. As showen in the screen
shot below.
Plz help me resolve this problem
Ur faithful user Prafull.
Thank you
-- 
https://mail.python.org/mailman/listinfo/python-list


Help - Exercise Decision

2013-11-10 Thread kennedysalvino . ks
I'm trying to make a ranking of 3 numbers and say which the greatest and 
consider whether there is a tie between them, I am not able to make the 
conditions of draws.  

Code in PT-BR: http://pastebin.com/18pYJjPC
-- 
https://mail.python.org/mailman/listinfo/python-list