On Thu, May 12, 2011 at 3:35 PM, vijay swaminathan swavi...@gmail.com wrote:
I tried using QThread as well.. But the problem is, on the run method when i
invoke the command prompt, it sends out the finished signal... I want it to
send out the finished signal only on closing the command prompt
Hi Chris,
I tried using os.system as well but it did not even open up the command
prompt.
Can you please share the code that worked for you.. just wondering if I'm
missing something very basic.
Regards,
-Vijay Swaminathan.,
On Thu, May 12, 2011 at 1:38 PM, Chris Angelico ros...@gmail.com
On Thu, May 12, 2011 at 7:42 PM, vijay swaminathan swavi...@gmail.com wrote:
Hi Chris,
I tried using os.system as well but it did not even open up the command
prompt.
Can you please share the code that worked for you.. just wondering if I'm
missing something very basic.
Caveat: I'm not
Hi All,
I'm new bie to thread programming and I need some assistance in
understanding few concepts ...
I have a very simple program which runs a thread and prints a string.
import threading
class MyThread(threading.Thread):
def __init__(self, parent = None):
On Wed, May 11, 2011 at 4:57 PM, vijay swaminathan swavi...@gmail.com wrote:
for i in range(10):
MyThread_Object.start()
count = threading.activeCount()
When I run this, I could see 10 thread being called. But when I print the
active thread count it is only 2.
Need some
En Wed, 11 May 2011 03:57:13 -0300, vijay swaminathan swavi...@gmail.com
escribió:
Hi All,
I'm new bie to thread programming and I need some assistance in
understanding few concepts ...
I have a very simple program which runs a thread and prints a string.
import threading
class
On Wed, May 11, 2011 at 4:57 PM, vijay swaminathan swavi...@gmail.com wrote:
[...]
1. How the total active thread is 2?
Your threads are terminating as normal.
Without some kind of loop in your run() method
they will execute the instructions and terminate.
2. how do I stop a thread? does it
I'm responding to this on-list on the assumption that this wasn't
meant to be private; apologies if you didn't intend for this to be the
case!
On Wed, May 11, 2011 at 6:38 PM, vijay swaminathan swavi...@gmail.com wrote:
so If i understand correctly, once the run method of the thread is executed,
Sorry. My intention was not to send out a private message. when I chose
reply to all, I was confused if this would start as a new thread. so just
did a reply..
coming back,
I have developed a GUI based on pyQT4 which has a run button. when I click
on run, it invokes a command prompt and runs a
On Wed, May 11, 2011 at 7:08 PM, vijay swaminathan swavi...@gmail.com wrote:
Sorry. My intention was not to send out a private message. when I chose
reply to all, I was confused if this would start as a new thread. so just
did a reply..
No probs. If you just send your response to the list
Is there any special reason you don't want to use QThread?
http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qthread.html#details
regards
2011/5/11 Chris Angelico ros...@gmail.com:
On Wed, May 11, 2011 at 7:08 PM, vijay swaminathan swavi...@gmail.com wrote:
Sorry. My intention was not
On Thu, May 12, 2011 at 1:16 AM, Wojtek Mamrak tacyt1...@gmail.com wrote:
Is there any special reason you don't want to use QThread?
http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qthread.html#details
Other than that QThread is part of QT and threading isn't, what are
the advantages
2011/5/11 Chris Angelico ros...@gmail.com:
On Thu, May 12, 2011 at 1:16 AM, Wojtek Mamrak tacyt1...@gmail.com wrote:
Is there any special reason you don't want to use QThread?
http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qthread.html#details
Other than that QThread is part of QT
I tried using QThread as well.. But the problem is, on the run method when i
invoke the command prompt, it sends out the finished signal... I want it to
send out the finished signal only on closing the command prompt that is
invoked earlier in my process.
guess some logic to be implement inside
14 matches
Mail list logo