Hi everybody,
Does anyone know if the adict.has_key(k ) command can be used to match a string against a dictionary key? I'm trying to append a value from my dictionary to a string when it is found.
String example:
browser details Musmusculuslet-7g 21 1 21 21 100.0% 22 + 46884872 46884892 21
browser details Musmusculuslet-7i 21 1 21 21 100.0% 5 + 50605174 50605194 21
Dictionary example:
'Musmusculuslet-7g': 'UGAGGUAGUAGUUU GUACAGU'
'Musmusculuslet-7i': 'UGAGGUAGUAGUUU GUGCUGU'
What I want:
browser details Musmusculuslet-7g UGAGGUAGUAGUUUG UACAGU 21 1 21 21 100.0% 22 + 46884872 46884892 21
etc.
Thanks,
Mark
Does anyone know if the adict.has_key(k ) command can be used to match a string against a dictionary key? I'm trying to append a value from my dictionary to a string when it is found.
String example:
browser details Musmusculuslet-7g 21 1 21 21 100.0% 22 + 46884872 46884892 21
browser details Musmusculuslet-7i 21 1 21 21 100.0% 5 + 50605174 50605194 21
Dictionary example:
'Musmusculuslet-7g': 'UGAGGUAGUAGUUU GUACAGU'
'Musmusculuslet-7i': 'UGAGGUAGUAGUUU GUGCUGU'
What I want:
browser details Musmusculuslet-7g UGAGGUAGUAGUUUG UACAGU 21 1 21 21 100.0% 22 + 46884872 46884892 21
etc.
Thanks,
Mark
Comment