[Python] Python readline from csv where first item is the object followed by one or more...

Discussão em 'Python' iniciado por Stack, Fevereiro 12, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to readlines where the first item in the line is a main object and the other items in that row are attributes(tags) using python. For example a line might be "Otter, web, prd, x86". I need to translate this to json where output "Otter" is one object with three different tags "web", "prd" and "x86". Or where I can get "Otter" with one attribute "web" and run an API call to update for each additional attribute.

    Continue reading...

Compartilhe esta Página