update python section of codes