We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to flush the model.print() output. I expected it to work the same as the builtin print() function, but it doesn't expect a flush kwarg.
model.print()
print()
flush
model.print(flush=True) works the same as print("foo", flush=True)
model.print(flush=True)
print("foo", flush=True)
sys.stdout.flush(), assuming model.print() is connected to sys.stdout
sys.stdout.flush()
sys.stdout
Good first issue - if someone wants to take this up, lookup what other kwargs print might accept, too.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is your feature request related to a problem? Please describe.
I want to flush the
model.print()
output. I expected it to work the same as the builtinprint()
function, but it doesn't expect aflush
kwarg.Describe the solution you'd like
model.print(flush=True)
works the same asprint("foo", flush=True)
Describe alternatives you've considered
sys.stdout.flush()
, assumingmodel.print()
is connected tosys.stdout
Additional context
Good first issue - if someone wants to take this up, lookup what other kwargs print might accept, too.
The text was updated successfully, but these errors were encountered: