[HELP] Using Python to Edit Materials via Mouse Actions?

So, I want to use Python to keep a template for something like this:

I would like to know how to change an objects materials when mouseover = false, mouseover = true, and left click = true.

I would also be open to using Logic Bricks to do this, but Python is preferred.

Thank you to all those who reply!

-Copper 'Stache

You can use replace mesh with the actuator and/or python controller

That was a good Idea, but I’m not sure why it’s still not working…

What am I doing wrong here?