Why Behavior of Python is different on the inner and outside of IPython notebook ? "pyglet.resource.image("x.png")" is causing an error inside IPython Notebook.
This post has NOT been accepted by the mailing list yet.
Dear, IPython-user forum,
I've used IPython notebook with Pyglet version 1.2alpha.
And I got an error with pyglet.resource.image inside IPython notbook.
But I can execute following code without the error outside IPython notebook with Pyglet version 1.2alpha.
And I can execute these commands without the error inside IPython notbook with Pyglet version 1.1.4.
Why Behavior of Python is different on the inner and outside of IPython notebook ?
******Version 1.2alpha Pyglet ( Install with "pip install cocos2d --user --process-dependency-links" command )
/home/hogehoge/.local/lib/python2.7/site-packages/pyglet/resource.pyc in image(self, name, flip_x, flip_y, rotate, atlas)
527 identity = self._cached_images[name] = self._alloc_image(name,
--> 528 atlas=atlas)
530 if not rotate and not flip_x and not flip_y: