Python has a problem writing csv

print (json.dumps (tzanli). Encode ("utf-8"). Decode (" unicode_escape"))
csv_write (person_id,org_id,person_icon,zhiwu,json.dumps (tzanli). Encode ("utf-8"). Decode (" unicode_escape"))

this is printed above:

{"0": {"product": ""}, "1": {"product": ""}, "2": {"product": ""}, "3": {"product": ""}, "4": {"product": ""}, "5": {"product": ""}, "6": {"product": ""}, "7": {"product": ""}, "8": {"product": ""}, "9": {"product": "51"}, "10": {"product": ""}, "11": {"product": "-Fun"}, "12": {"product": ""}, "13": {"product": ""}, "14": {"product": ""}, "15": {"product": ""}, "16": {"product": ""}, "17": {"product": ""}, "18": {"product": ""}, "19": {"product": ""}, "20": {"product": ""}, "21": {"product": ""}, "22": {"product": ""}}

this is the

in the following csv file

87ec54ef27e93908a8397eb3a6bbb45b97780 5983fcff8e611b44eac8b3fca8482155, http://img1.qimingpian.com/pe.,"{""0"": {" product ":" Letao "}," 1 ": {" product ":" Hairun Film and Television "}, "2": {"product": "Shuangjie Electric"}, "3": {"product": "Chao Acer"}, "4": {"product": "Gunda Electric"}, "5": {"product": "Terry Machine"}, "6": {"product": "billion Euro"}, "7": {"product": "Orange Bull car Butler"}, "8": {"product": "Yijiajie"}, "9": {"product": "51 cars"}, "10": {"product": "ninth power big data"}, "11": {"product": "Mad paste-Fun"}, "12": {"product": "Hot Mother Huihui"}, "" 13 ": {" product ":" four Seas Huachen Technology ""}, "" 14 ": {" product ":" Nuoerkang "},"15": {"product": "Tianjin pictographic Technology"}, "16": {"product": "Amoy search"}, "15": {"product": "Tianjin pictographic Science and Technology", "16": {"product": "Amoy search"}, "15": {"product": "Tianjin pictographic Science and Technology"}, "16": {"product": "Amoy search"}, "17": {"product": "Dream
Bazaar"}, "" 18 ": {" product ":" Rubik"s cube apartment "}," 19 ": {" product ":" Dolly Farm "}," 20 ": {" product ":" Mickey net "}," 21 ": {" product ":" Letou "}, "22": {"product": "Oristin"}}"
there is an extra double quotation mark
Why is this?

Jun.23,2021
The quotation marks of

csv are escaped as single quotation marks, and there are commas in the JSON string, so the outermost quotation marks are enclosed in quotation marks, and then the quotation marks inside are escaped

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb22cc-23b3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb22cc-23b3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?