ians python stuff