code: def create_opengl_object(gl_gen_function, n=1):
      
      handle = gl.GLuint(1)
      gl_gen_function(n, byref(handle))  # Create n Empty Objects
      if n > 1:
          return [handle.value + el for el in range(n)]  # Return list of handle values
      else:
          return handle.value
docs: Returns int pointing to an OpenGL texture