an other thread to embed Tk???

Sven Drescher Sven.Drescher at dlr.de
Mon Aug 16 06:09:51 EDT 1999


Hi!

I want to embed Python to C++, because I need a GUI to interact with my
C-program. But so easy like in my book "Programming Python" it isn't.

I load the Tkinter-module, but I have the following error message:
"Fatal Python error: PyThreadState_Get: no current thread"

I used VC++6.0EE to compile and link it.

I think I must create a new thread for my Python-GUI-code, but I don't know
the way I have to do it.

Thanks for hints and sites, where I can get information!

Sven







More information about the Python-list mailing list