I recently asked this very same question on the Autodesk forums, and yes, the solution is to simply call flush()
afterwards. :D
sys.__stdout__.write("Hello world!")
sys.__stdout__.flush()
It’s available and harmless in Python 2 as well.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CABBPk36reADnbxD0%3DB10wJYe4pc1ED%2BWN44KVfHRiFNGzmMW4g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOC2Vz70ZucqrcdKTvT3722BVd79iRRBCu0pN64eKd67RQ%40mail.gmail.com.