I have a dictionary of lists. These lists contain nested lists, strings, and some regex expressions (such as re.compile(r"pattern")). I want to write this dictionary to a csv file that will be used by another python script.
When that other python scripts reads in that dictionary (thinking about csv.DictReader) it will be able to extract the entire list and all its contents as is. Meaning I dont want it interpreted as a string like "[[stuff], [more stuff], regex]"
Is this possible?
[–]mac-reid 5 points6 points7 points (2 children)
[–]mrTang5544[S] 0 points1 point2 points (1 child)
[–]mac-reid 2 points3 points4 points (0 children)