Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

python XML vs JSON

Name: Anonymous 2013-01-07 19:36

Does /prog/ use python? And if so, are XML or JSON formats preferred?

Name: Anonymous 2013-01-07 20:05

>>8
Not sure if this may help you:


list = []
crap = data["query"]["pages"]
for number in crap:
    list.append(crap[number]["revisions"][0]["user"])
print list


I've never used XML so I don't know if it's easier that way, but this wasn't that hard. Hell, I don't even know if my solution works.

>>10
YOU (probably?) HELPED HIM!

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List