How to get Operating System Name using Python

I am working on a python script and I want to know on what OS the script is running. How to get that?