Python tutorial for CCN Summer school 2014