I am trying to convert a set object to list...for example "p=list('abc')" is not working. any ideas or is it inherent in appengine
+1
A:
A set object to list is converted like so:
my_list = list(my_set)
I don't understand your example though. Converting a string to a list results in a list of characters:
>>> list('abc')
['a', 'b', 'c']
Blixt
2009-06-08 09:11:22
A:
if the list() command is not working for you, you could work around it like this:
my_list = []
for item in my_set:
my_list.append(item)
hth
mux
2009-06-08 10:11:45
A:
There is no specific change "inherent" in appengine with respect to common aspects like lists. It is as just the same, plain python.
Lakshman Prasad
2009-06-08 16:48:48