Using SHELL commands from python

I am new to python and am trying to execute shell commands from the python code itself, as we used to do from conventional C programming. Need some support and a line of sample code to demonstrate how to do this.