how to import GLUT??
Mike Fletcher
mfletch at tpresence.com
Fri Jan 26 17:04:26 EST 2001
from OpenGL.GLUT import *
For a more in-depth look, see the context-creation documentation of the
PyOpenGL project (it includes a GLUT context).
http://pyopengl.sourceforge.net/documentation/context/index.html
HTH,
Mike
-----Original Message-----
From: ABDENOUR HADID [mailto:hadidab at yahoo.fr]
Sent: Friday, January 26, 2001 3:13 PM
To: python-list at python.org
Subject: how to import GLUT??
hello,
I am just beginner in python.
i have installed python and pyopengl on windows.
I tried to execute one scipt toto.py which contain:
from glut import *
def display():
print 'display'
.....
but I receive one error : import error : no module
named glut...
may be I have to specify the path of this file? how to
do? the glut is found in /python/opengl/glut/ ...is
the the correct file?
need I other modules?
Thank you for your help.
___________________________________________________________
Do You Yahoo!? -- Pour dialoguer en direct avec vos amis,
Yahoo! Messenger : http://fr.messenger.yahoo.com
--
http://mail.python.org/mailman/listinfo/python-list
More information about the Python-list
mailing list