Added snippets for flask
Fixed scope in shell snippets
Added shell snippet for python