anil maran wrote: > list comprehensions to return a dictionary A list comprehension creates a list. Can you explain why you want this? Kent