title snippet for python