keep indentation of 4 for python snippets

use 4 spaces in all python snippets indentation. Most of python syntax checker will give a warning for a indentation of 3 spaces.