The difference between ... input and raw_input
input returns an object that's the result of evaluating the expression. raw_input returns a string ...
The difference between ... Python 3 and Python 2
If you run the Python 3, do not use sample code written for Python 2, you'll just end with many errors and much confusion ...
The difference between ... extend and append on a list
Extend just extend a list with another list by adding each element on list, append add the list like one element...
The difference between ... function and method
Method is a function with an extra parameter which is the object that it's to run on...
The difference between ... deleting a variable and deleting its contents
By removing its contents by setting NoneType variable allows you to add a new value.
These are just a few differences, in reality they are much more ... I will return with others ...
Is a blog about python programming language. You can see my work with python programming language, tutorials and news.
Tuesday, April 19, 2011
Saturday, April 16, 2011
PyOpenGL and PyOpenGL-accelerate 3.0.1 - latest version
First , the major error is this:
I try fix this with ... NetFx20SP2_x86.exe, not working.
I use google to donload the dll file. Is not correct way , but this fix error.
I use this PyOpenGL-3.0.1.zip to install OpenGL module under Python 2.6.2 ...
Just use this :
Just try something like this...
I try fix this with ... NetFx20SP2_x86.exe, not working.
I use google to donload the dll file. Is not correct way , but this fix error.
I use this PyOpenGL-3.0.1.zip to install OpenGL module under Python 2.6.2 ...
Just use this :
python setup.py install
But you can not use python on command line, because you need to add on enviroment vars...Just try something like this...
C:\>set PATH=C:\Python26;%PATH%
To see the result , just use:C:\path
You can test the OpenGL modules...>>> import OpenGL
>>> import OpenGL_accelerate
>>> help(OpenGL_accelerate)
Help on package OpenGL_accelerate:
NAME
OpenGL_accelerate - Cython-coded accelerators for the PyOpenGL wrapper
FILE
c:\python26\lib\site-packages\opengl_accelerate\__init__.py
DESCRIPTION
This package contains Cython accelerator modules which
attempt to speed up certain aspects of the PyOpenGL 3.x
wrapper mechanism. The source code is part of the
PyOpenGL package and is built via the setupaccel.py
script in the top level of the PyOpenGL source package.
PACKAGE CONTENTS
arraydatatype
errorchecker
formathandler
latebind
nones_formathandler
numpy_formathandler
vbo
wrapper
-- More --
This is all .
Subscribe to:
Posts (Atom)