> The dictionary is irrelevant to your question. It doesn't matter whether
> the path came from a dict, a list, read directly from stdin, an
> environment variable, extracted from a CSV file, or plucked directly from
> outer space by the programmer. The process remains the same regardless of
> where the path came from.
>


Thanks I was ignorant about this  , your solution looks cool .  One last
question , does it makes sense to check if the values are not none ( If I
plan to use the value for next computation )

 if not all(filename, testcase):
               raise ValueError("Error getting filename or testcase no")


Regards,
Ganesh
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to