create python sample