Parses Python style multi-lines input