pys interface structure changed to line by line access