add echo snippet for python