add dive into python sample code