some sample codes in python to share over the network