Python set to list

How can I convert a set to a list in Python? Using

a = set(["Blah", "Hello"])
a = list(a)

doesn’t work. It gives me:

TypeError: 'set' object is not callable

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)