Skip to content

Create xml_to_json.py#1

Open
jithusunny wants to merge 5 commits intomdivk:masterfrom
jithusunny:patch-1
Open

Create xml_to_json.py#1
jithusunny wants to merge 5 commits intomdivk:masterfrom
jithusunny:patch-1

Conversation

@jithusunny
Copy link
Copy Markdown
Collaborator

I) Use without Installing

$ python2.7 xml_to_json.py -r xregion -f xflow -p source_dir -o output.json

@jithusunny
Copy link
Copy Markdown
Collaborator Author

This is still open, could you please accept/merge this?
Also please add me as a contributor in your repo if that is fine?

1) Multiprocessing is removed

2) Install lxml:
https://stackoverflow.com/questions/4642942/setup-py-install-lxml-with-python2-6-on-centos
https://stackoverflow.com/questions/20886069/cant-install-lxml-on-centos/30440011

3) now the output is a directory

4) I can't post anything in your repo. Please make me a contributor to do so..

5) Paths are accepted for input/output. This is fine

To run: python2.7 xml_to_json.py -r xregion -f xflow -p input_dir -o ~/output_dir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant