Lines Matching full:dictionary

24 …Create a dictionary whose keys/values are the arg names/arg values passed to it and return it to t…
27 Note: The resulting dictionary will be ordered.
40 The print-out of the resulting var dictionary is:
70 Join a dictionary's keys and values into a string and return the string.
73 dict The dictionary whose keys and values are to be joined.
74 …record_delim The delimiter to be used to separate dictionary pairs in the resul…
104 Split a string into a dictionary and return it.
109 …string The string to be split into a dictionary. The string must have the
111 …record_delim The delimiter to be used to separate dictionary pairs in the input…
149 …file_name_dict A dictionary with keys/values which are to appear as part of the f…
161 Parse a file path created by create_file_path and return the result as a dictionary.
256 Convert a list containing key/value strings or tuples to a dictionary and return it.
315 … so they will be processed as a list rather than as a dictionary. The result would be as follows:
370 # If delim is found anywhere in the sub_list, we'll process as a sub-dictionary.
387 # If delim is found anywhere in the sub_list, we'll process as a sub-dictionary.
397 Convert a buffer with a key/value string on each line to a dictionary and return it.
581 …A report object is a list where each entry is a dictionary whose keys are the field names from the…
735 Given a dictionary structure named "personnel" with the following contents:
758 …ructure Any nested combination of lists or dictionaries (e.g. a dictionary, a
759dictionary of dictionaries, a list of dictionaries, etc.). This function
780 Return True or False to indicate whether the structure matches the match dictionary.
784 Given a dictionary structure named "personnel" with the following contents:
847 Given a dictionary named "properties" that has the following structure:
869 Would return a new properties dictionary that looks like this:
900 …# Determine whether structure is a list or a dictionary and process accordingly. The result retur…
919 def split_dict_on_key(split_key, dictionary): argument
921 …Split a dictionary into two dictionaries based on the first occurrence of the split key and return…
925 dictionary = {'one': 1, 'two': 2, 'three':3, 'four':4}
926 dict1, dict2 = split_dict_on_key('three', dictionary)
927 pvars(dictionary, dict1, dict2)
930 dictionary:
943 …split_key The key value to be used to determine where the dictionary should …
945 dictionary The dictionary to be split.
950 for key in list(dictionary.keys()):
954 dict2[key] = dictionary[key]
956 dict1[key] = dictionary[key]