sets and subsets

Bart Nessux bart_nessux at hotmail.com
Wed Feb 11 20:21:41 EST 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