How do I rotate a camera along the global axis and not local?

I want to do this with scripts.