Posts by Gleice • 33 points
2 posts
-
0
votes1
answer3453
viewsQ: Valueerror error: I/O Operation on closed file. when generating csv with python
My code is giving error of "ValueError: I/O operation on closed file." and I can’t find it in any forum, does anyone know what it might be ? Thank you. import json import requests import csv url =…
-
2
votes1
answer1491
viewsQ: Browse and count records from a JSON
I have a Python code that I can display on the screen all JSON records, only I need to bring only the field 'Nome' and the count of each. First he brings with [] (list format) and I need the…