On Thu, May 12, 2011 at 7:42 PM, vijay swaminathan 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 using Qt, I jus
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 wrote:
> On Thu, May
On Thu, May 12, 2011 at 3:35 PM, vijay swaminathan 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 that is
> invoke
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 r
2011/5/11 Chris Angelico :
> On Thu, May 12, 2011 at 1:16 AM, Wojtek Mamrak 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 ar
On Thu, May 12, 2011 at 1:16 AM, Wojtek Mamrak 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 of QThread? Is it
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 :
> On Wed, May 11, 2011 at 7:08 PM, vijay swaminathan wrote:
>> Sorry. My intention was not to send out a private message.
On Wed, May 11, 2011 at 7:08 PM, vijay swaminathan 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
python-list@python.o
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 .b
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 wrote:
> so If i understand correctly, once the run method of the thread is executed,
> the thread is n
On Wed, May 11, 2011 at 4:57 PM, vijay swaminathan 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 get automatically
En Wed, 11 May 2011 03:57:13 -0300, vijay swaminathan
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 MyThread(threading.Thread):
On Wed, May 11, 2011 at 4:57 PM, vijay swaminathan 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 understanding
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):
threading.Thread.__init_
14 matches
Mail list logo