Hi!

I would like to create a list containing lists. I need each list to have a 
differente name and i would like to use a loop to name the list. But as the 
name, is a string, i cannot asign it to a value... how can I do that??


global_list=[]
for i in range (20):
  ("list_"+i)=[]   #These would be the name of the list...
  global_list.append("list_"+i)

Thank you!!!!!

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to