Posts by Rennan Céos Gleyson • 77 points
4 posts
-
2
votes1
answer2238
viewsQ: Write file in JSON
I have a number of files in JSON format, to work better organize them all in a single file using the following method: import json filename = "dados_geral.json" for mensagens in range(1,6):…
-
0
votes1
answer451
viewsQ: How to sort and sequence data from a file
I developed a program that stores a list of ids, so But for the desired purpose, the data should take the sequential form, so that the first pair of ids is something like: "889926212541448192"…
-
1
votes1
answer393
viewsQ: How to remove null, false and true values from Json file?
I have a JSON file with this data: { "in_reply_to_screen_name": null, "favorited": false, "id_str": "92", "entities": { "user_mentions": [], "symbols": [], "urls": [], "hashtags": [ { "indices":…
-
4
votes1
answer77
viewsQ: List being modified without implementation
I’m having a problem where the list I’m working on is being modified even though there’s no value passing to it. from random import * from numpy import * m=2 lista_inicial=[[1, 2], [0, 2], [0, 1]]…