Notes of network programming in python