Different again sending output to text file. >>> bit_stuff.combinations(14,6) Text file contains: 63 ? 16128 ? I presume the extra space before the second '?' is significant. Duncan