Initially my script runs successfully but now it showing error. I have attached the screenshot of my error.
Below is my script.
import csv
import os
def create_modified_csv():
columns = "Name”, “ID”]
if os.path.exists("C:/SAP_to_ZOHO_Data/Modified_template.csv"):
os.remove("C:/SAP_to_ZOHO_Data/Modified_template.csv")
with open("C:/SAP_to_ZOHO_Data/Modified_template.csv", "w", newline="") as csvfile:
writer = csv.writer(csvfile)
writer.writerow(columns)