added 1st draft python i/o