Question #667546 on Yade changed:
https://answers.launchpad.net/yade/+question/667546

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,
just an idea (not tested), would
###
print "whatever"
sys.stdout.flush()
###
help?

Alternatively, you can use a workaround, instead of print, use
sys.stderr.write("whatever\n") # [1]
as this was printed..

Even more workaround, instead of printing, you can open a file and write
to it..

cheers
Jan

[1] https://github.com/yade/trunk/blob/master/core/main/main.py.in#L180

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to