Simulating PICK OS data handling routines to learn about Python