[Tutor] How to get the element from a list

Eggo why eggo at hotmail.com
Wed Nov 13 15:22:02 EST 2019


Hi All,
I have a list like this "line = [{'logname; : 'c:/tmp/alert', 'creationTime': 1573664115985},{'logname; : 'c:/tmp/audit', 'creationTime': 1573664115985}]" and I would like to retrieve the "logname" from it.  What is the easiest way to do so?

Gary


More information about the Tutor mailing list