python run ip command script