my python sample code