python lab: scripts to be filled in