I'm currently have an API that calls to a system and produces a CSV file of data from that system. That CSV file is placed to a folder on my computer, however I would like to point it to be placed to a different specific folder on my computer.
I do not have the current folder that it is being placed in specified in the API so I'm not sure why it is being placed there.
I think that I need to change my open statement below. Is there a way for me to write a path into this clause so that it gets placed in a different folder? Or would I need to state that somewhere else?
with open("UserStory.csv", "w", newline="") as outputFile:
writer = csv.DictWriter(outputFile, ["Number","Estimate", "Project", "CreateDate", "ClosedDate", "CompletedDate", "Sprint", "Sprint Start", "Sprint End","Planned","Team", "BlockingIssues", "Status"])
writer.writeheader()