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

Make verbose output optional #12

Open
kolibril13 opened this issue Nov 3, 2022 · 0 comments
Open

Make verbose output optional #12

kolibril13 opened this issue Nov 3, 2022 · 0 comments

Comments

@kolibril13
Copy link
Member

Currently, there is a log message displayed in the cell-output after the capture cell magic is called.
There could be a flag that gives control over this behavior.
Two options are possible:

  1. Show message by default, and the --nonverbose flag hides the message.
  2. Hide message by default, and the --verbose flag will show the message.

Personally, I am slightly in favor of the second option because it is more minimalistic, but I am open to arguments for using the 1. option.

These are the lines that produce the log messages:

print(f"Note: The {path_pathlib.parent} directory was successfully created.")

print(f"Output saved by creating file at {path_pathlib}.")

print(f"Output saved by overwring previous file at {path_pathlib}.")

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