I use the following code in the python command line interpreter, but the window doesn't respond.
import pyglet
window = pyglet.window.Window()
A white window with python icon into left-upper corner appears but then it basically hangs. Windows task manager shows that this window is not responding. However the Python command prompt works well. No errors or warning messages get displayed.