Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: From flat to nested structure
Post: RE: From flat to nested structure

Hey nilamo, Yes, JSON would be exactly the same as dictionary. Once I've got properly structured dict I would just convert it into JSON using standard libraries and voilĂ . Obviously, any collection t...
CptHaddock General Coding Help 5 6,083 Mar-21-2018, 07:31 PM
    Thread: From flat to nested structure
Post: RE: From flat to nested structure

Hey nilamo, Thanks for that - I was able to achieve similar result by using defaultdict. After splitting key-values on colon I created and zipped two list with keys and corresponding values and then:...
CptHaddock General Coding Help 5 6,083 Mar-19-2018, 09:33 PM
    Thread: From flat to nested structure
Post: From flat to nested structure

Most Venerable Coders, I've got seemingly innocent problem I cannot crack properly (I'm not proficient in Python though). I've got a flat data structure in the form of (kind of) key-value pairing: [...
CptHaddock General Coding Help 5 6,083 Mar-19-2018, 08:20 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020