简体   繁体   中英

IPython notebook does not capture all console output

within my code I use a Python package that calls external programs which write their output to the same console that IPython is running in. If I now run the same code from an IPython notebook, the output is not written to the notebook output cells, but into the console that the IPython notebook server is running in.

Do you know if it is possible to capture this output somehow, and then display it within the IPython notebook? I'm on Xubuntu 14.04, by the way.

Thank you very much for your help!

This gives you nice and comprehensive description of your problem and potential solutions. You need to try it out for yourself with your specific setup.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM