2

I have a module that multi-threads some code (using threading library) and on top of it, another module which implements GUI (using QT).

Now, everything seems to work fine, except that when I compile the code to a pyc file, and change the extension to pyw to get rid of the black CMD screen, the GUI works, multithreading inside the GUI module even works, BUT - the multithreading in the other module just doesnt work at all.

It seems like the thread never even starts, and I just end up waiting forever.

py file? works great, pyc file? works great, pyw file? threading inside smaller module doesnt work. What could cause this?

1 Answer 1

1

I would guess its do with Windows POpen Failures, you way want to look into using Qt's QThreads instead.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.