perfect python sample source