Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature xlsx #57

Merged
merged 8 commits into from
May 30, 2019
Merged

Conversation

Ximi1970
Copy link
Contributor

@Ximi1970 Ximi1970 commented May 19, 2019

Optional XLSX output format support. Automatically detects XlsxWriter module.

@@ -47,7 +61,10 @@ def say(*arg):

def isExtensionSupported(filename):
result = False
extensions = [".xml",".csv",".txt",".tsv",".html"]
if xlsxwriter_available:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have a default extensions array, and then optionally append '.xlsx' if xlsxwriter_available is True

@SchrodingersGat
Copy link
Owner

Hi @Ximi1970 thanks for adding this feature! Please have a look at my review notes above.

@Ximi1970
Copy link
Contributor Author

Hi @SchrodingersGat, I cleaned up the extension handling and also removed the "missing module" message.

@SchrodingersGat
Copy link
Owner

@Ximi1970 awesome, thanks for the contribution

@SchrodingersGat SchrodingersGat merged commit 38525f3 into SchrodingersGat:master May 30, 2019
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.

2 participants