Text this: Understanding optics with python