python sample code added