Skip to content

Improve the xmltojson.py script#42

Open
rudolfbyker wants to merge 4 commits into
zotero:masterfrom
rudolfbyker:dev-python
Open

Improve the xmltojson.py script#42
rudolfbyker wants to merge 4 commits into
zotero:masterfrom
rudolfbyker:dev-python

Conversation

@rudolfbyker
Copy link
Copy Markdown

  • Follow PEPs.
  • Clean up imports.
  • Separation of concerns and better code reuse by splitting up into functions.
  • Make silent by default, but add 'verbose' flag.
  • Use a context manager when writing a file, to prevent leaking file descriptors.

@rudolfbyker
Copy link
Copy Markdown
Author

@dstillman @northword would you prefer that I split this into smaller PRs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant