python-basics-exercises icon indicating copy to clipboard operation
python-basics-exercises copied to clipboard

Page 377

Open HoshyarKarimi opened this issue 3 years ago • 0 comments

>>> file = file_path.open(mode="w", encoding="utf-8") Now create a new CSV writer object by passing the file object file to csv.writer(): >>> writer = csv.writer() You did not passed the file created earlier and running the code by just looking to the code provided, results in error: TypeError: expected at least 1 argument, got 0

HoshyarKarimi avatar Aug 20 '22 18:08 HoshyarKarimi