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

save book after adding sheet not working #277

Open
k1ngf15h3r opened this issue Oct 13, 2023 · 0 comments
Open

save book after adding sheet not working #277

k1ngf15h3r opened this issue Oct 13, 2023 · 0 comments

Comments

@k1ngf15h3r
Copy link

k1ngf15h3r commented Oct 13, 2023

from pyexcel import Book, Sheet

b=Book()
b+=Sheet(name='new sheet')
print(b)
b+=Sheet([[1,2,3]], name='new sheet2')
print(b)

Originally posted by @chfw in #122 (comment)

Thank you for this hint. I am trying this with an ods book but when I try to do book.save_as(self.file) I got this error:

'builtin_function_or_method' object has no attribute 'replace'

any idea how to fix this?

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

No branches or pull requests

1 participant