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

Appending to the end of output_file while printing rather than overwirting it #720

Closed
zhengzl18 opened this issue Nov 4, 2023 · 2 comments

Comments

@zhengzl18
Copy link

I wonder if there is a way to append to the end of output_file while printing rather than overwirt it. I'd like to print the outputs of several solvings to one file, but by simply setting output_file, the contents of this file will be overwitten every solving. I have searched for output-related options but found nothing.

@svigerske
Copy link
Member

No, there is no option so far. You could create your own version of the FileJournal class that does that, but it should also be possible to add an option that says whether to append or truncate.

@zhengzl18
Copy link
Author

No, there is no option so far. You could create your own version of the FileJournal class that does that, but it should also be possible to add an option that says whether to append or truncate.

THX a lot!

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

2 participants