Blender 2.76 - Animate Textures Using Python

I’m looking for a way to animate textures in Blender Game Engine using a Python script. I’ve tried using the built in texture animation tools in the UV editor and its too buggy to get reliable results. I’ve been forced to rely on using the Logic Bricks to constantly replace the mesh with several other meshes in sequence with slightly different UVs so that it creates the illusion of animation, but its very stuttery, takes a tremendous amount of Logic Bricks, and is extremely inefficient with all the objects that must be created and hidden away on other layers to be called upon. Is there a simple script that either allows you to switch between an objects textures in sequence or that allows you to change an objects UV coordinates in sequence to create an animated texture?

edited> misread the question. My answer did not fit the subject matter.