code: def createProgram(shaderList):
      program = glCreateProgram()
  
      for shader in shaderList:
          glAttachShader(program, shader)
  
      glLinkProgram(program)
  
      status = glGetProgramiv(program, GL_LINK_STATUS)
      if status == GL_FALSE:
          # Note that getting the error log is much simpler in Python than in C/C++
          # and does not require explicit handling of the string buffer
          strInfoLog = glGetProgramInfoLog(program)
          print("Linker failure: \n" + str(strInfoLog))
  
      for shader in shaderList:
          glDetachShader(program, shader)
  
      return program
  
imports: import os
  from OpenGL.GL import *
label_desc: Use image node_id 2 for calling a global function with example usage: createProgram(shaderList) and returns: program