digimikeh
19-02-2009 01:20:15
Hello....
I'm learning python at the same time Python-ogre. I downloaded the following four files.. :
------
OgreSDKSetup1.6.1_CBMingW
Python-Ogre-1.6.1-r845-py252
BlenderExport
demo_media_1.2.0
------
I tried to do the beginner tutorials the first one, "basic_01.py", I noticed that tutorial is based in version 1.0 so, then investigated that the first line must be changed... precisely " import pyogre " to " import ogre.renderer.OGRE as ogre "
Typed all the same, like is written in tutorial.. but i got this error in shell:
Traceback (most recent call last):
File "C:\Documents and Settings\Administrador\Escritorio\PyogreTutorial\Mine\basic_01.py", line 12, in <module>
ta.go()
AttributeError: TutorialApplication instance has no attribute 'go'
I appreciate any help....
Thanks..
I'm learning python at the same time Python-ogre. I downloaded the following four files.. :
------
OgreSDKSetup1.6.1_CBMingW
Python-Ogre-1.6.1-r845-py252
BlenderExport
demo_media_1.2.0
------
I tried to do the beginner tutorials the first one, "basic_01.py", I noticed that tutorial is based in version 1.0 so, then investigated that the first line must be changed... precisely " import pyogre " to " import ogre.renderer.OGRE as ogre "
import ogre.renderer.OGRE as ogre
import SampleFramework as sf
class TutorialApplication():
def _createScene(self):
pass
if __name__ == "__main__":
ta = TutorialApplication()
ta.go()
Typed all the same, like is written in tutorial.. but i got this error in shell:
Traceback (most recent call last):
File "C:\Documents and Settings\Administrador\Escritorio\PyogreTutorial\Mine\basic_01.py", line 12, in <module>
ta.go()
AttributeError: TutorialApplication instance has no attribute 'go'
I appreciate any help....
Thanks..