Python ARPA file stuff