>
> handler = object_type_dictionary[options.object_type] # look up the
> function
> handler() # call it
>
> The last two lines could also be merged into one
>
> object_type_dictionary[options.object_type]()
>
> but the first version may be clearer.
>
>

Thanks  for your valuable inputs all worked :)
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to