finish draft of python example