a big big problem

In python thread when I call pyglet function then it will shut down.
It is a Big Problem.