Home | History | Annotate | Download | only in Common

Lines Matching refs:Dictionary

2 # Define a dictionary structure

21 ## Convert a text file to a dictionary
23 # Convert a text file to a dictionary of (name:value) pairs.
28 def ConvertTextFileToDictionary(FileName, Dictionary, CommentCharacter, KeySplitCharacter, ValueSplitFlag, ValueSplitCharacter):
40 Dictionary[Key[0]] = LineList[1].replace('\\', '/').split(ValueSplitCharacter)
42 Dictionary[Key[0]] = LineList[1].strip().replace('\\', '/')
50 ## Print the dictionary
52 # Print all items of dictionary one by one
54 # @param Dict: The dictionary to be printed
63 ## Print the dictionary
65 # Print the items of dictionary which matched with input key
67 # @param list: The dictionary to be printed