How do I import Irrlicht classes with Python?[Solved]

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
rudm
Posts: 3
Joined: Sat Oct 08, 2011 5:10 pm

How do I import Irrlicht classes with Python?[Solved]

Post by rudm »

I use pyrrlight, as python-bundle for Irrlight engine and when trying to import class

Code: Select all

 
import pyrrlicht
import IEventReciever
 
I recieve

Code: Select all

Traceback (most recent call last):
  File "D:\Python\pyirrlicht\my_hello_world.py", line 3, in <module>
    import IEventReciever
ImportError: No module named IEventReciever
 
I shall use

Code: Select all

import pyrrlicht.IEventReciever
Post Reply