'Adding Textures to PyOpenGL VBOs

I wanted to add textures to PyOpenGL VBOs. I just can't get it right, and it show a white square! I have tried using a TexCoordPointer ad given here: How to add textures to PyOpenGL VBOs? but it is not working!



Solution 1:[1]

I found an answer at the same link mentioned earlier, but it shows me some colourful dots instead.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1