spout on python