Hi

If your using Python 2.5 then you need to import the sets module.

>>> from sets import Set
>>> Set([1,2,1,2,4])
Set([1, 2, 4])
>>> 

This code will also work in 2.7

Though in 2.7 you have the set type builtin.

Rgds

Tim


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/jbZddnsDuQgJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to