On 2/8/2023 6:39 AM, Shaozhong SHI wrote:
What is the robust way to use Python to read in an XML and turn it into
a JSON file?
JSON dictionary is actually a tree. It is much easier to manage the
tree-structured data.
XML and JSON are both for interchanging data. What are you trying to
acc
What is the robust way to use Python to read in an XML and turn it into a
JSON file?
JSON dictionary is actually a tree. It is much easier to manage the
tree-structured data.
Regards,
David
--
https://mail.python.org/mailman/listinfo/python-list
On 1/21/2023 10:03 AM, Dino wrote:
I have a question that is a bit of a shot in the dark. I have this nice
bash utility installed:
$ tree -d unit/
unit/
├── mocks
├── plugins
│ ├── ast
│ ├── editor
│ ├── editor-autosuggest
│ ├── editor-metadata
│ ├── json-schema-validator
│ │ └─
you rock. Thank you, Stefan.
Dino
On 1/21/2023 2:41 PM, Stefan Ram wrote:
r...@zedat.fu-berlin.de (Stefan Ram) writes:
def display_( object, last ):
directory = object; result = ''; count = len( directory )
for entry in directory:
count -= 1; name = entry; indent = ''
https://docs.python.org/3/library/pprint.html
From: Python-list on
behalf of Dino
Date: Saturday, January 21, 2023 at 11:42 AM
To: python-list@python.org
Subject: tree representation of Python data
*** Attention: This is an external email. Use caution responding, opening
attachments or
I have a question that is a bit of a shot in the dark. I have this nice
bash utility installed:
$ tree -d unit/
unit/
├── mocks
├── plugins
│ ├── ast
│ ├── editor
│ ├── editor-autosuggest
│ ├── editor-metadata
│ ├── json-schema-validator
│ │ └── test-documents
│ └── validate-se