updated python sections