sets and subsets

Bart Nessux bart_nessux at hotmail.com
Thu Feb 12 02:21:41 CET 2004


Peter Otten wrote:
 
> outputFile = file('pruned_ips.txt' , 'w')
> for i in include - exclude:
>     print >> outputFile, i,
> outputFile.close()

Wow! That makes a lot more sense than the list comprehension stuff. I think
I'll use it. Thanks!



More information about the Python-list mailing list