python instead of perl