python: added for snippet.
python: added if snippet.
python: added if main snippet.
python: added import snippet.
python: added init snippet.
python: added test snippet.
python: added while snippet.