Which module is "set " in?

Anthony Liu antonyliu2002 at yahoo.com
Fri Feb 25 23:47:41 EST 2005


I want to use the set function like

    mylist = ['a', 'b', 'b', 'd', 'e', 'a']
    myset  = set (mylist)

But I don't know what to import, I tried sys, sets,
they don't work.

What's the easy way to find out the module that
contains a particular function?


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250



More information about the Python-list mailing list