It’s not python but there’s this updated version for Rhino 6:
Sorry if that doesn’t help you any further.