Creating a dictionary

argbsk at gmail.com argbsk at gmail.com
Tue Oct 9 07:59:49 EDT 2012


below is the text file i have How to create Facility as a key and then assign multiple values to it

FACILITY : BACKUP
FAILED BACKUP_BEFORE
FAILED BACKUP_INTERCHANGE
Total : 34
Passed : 32
Failed : 2
Not Run : 0

FACILITY : CDU
Total : 9
Passed : 9
Failed : 0


for example Facility BACKUP is a key & its values are Total Passed, Failed Not Run and Facility CDU as a key & its values Total:9,Passed:9,Failed:0 etc...



More information about the Python-list mailing list