Add coding, getattr and setattr snippets on python