for j in range(0, len(json_team_data["list"][i]["tzanli"])):
touzianli_nick_name = json_team_data["list"][i]["tzanli"][j]["name"]
tzanli.setdefault(str(j), {}).setdefault("product", touzianli_nick_name)
print(json.dumps(tzanli).encode("utf-8").decode("unicode_escape"))
csv_write(person_id,org_id,person_name,zhiwu,json.dumps(tzanli).encode("utf-8").decode("unicode_escape"))
write this and save as follows
, "20": {"product": "Mickey net"}, vim opens with a double quotation mark in the string, but when the csv file is opened, it is a double quotation mark.
prints out a double quotation mark and writes in two double quotation marks, but if replace writes in empty substitution double quotation marks at the beginning, there is no double quotation mark