{"id":72,"date":"2017-01-12T10:36:55","date_gmt":"2017-01-12T18:36:55","guid":{"rendered":"http:\/\/blog.stevenzaharakis.com\/?p=72"},"modified":"2017-01-12T10:36:55","modified_gmt":"2017-01-12T18:36:55","slug":"motionbuilder-tip-output-when-using-pyside","status":"publish","type":"post","link":"http:\/\/blog.stevenzaharakis.com\/index.php\/2017\/01\/12\/motionbuilder-tip-output-when-using-pyside\/","title":{"rendered":"Motionbuilder tip: Output when using PySide"},"content":{"rendered":"<p>Often you can&#8217;t get a simple print statement to output to Mobu&#8217;s output window when using PySide.  You will only see all the output if you close down a UI and reload it.  Easiest way to get around this is with flushing the output via the pythonidelib module.  It&#8217;s as simple as:<\/p>\n<pre class=\"lang:default decode:true \" >import pythonidelib\r\n\r\npythonidelib.FlushOutput()<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Often you can&#8217;t get a simple print statement to output to Mobu&#8217;s output window when using PySide. You will only see all the output if you close down a UI and reload it. Easiest way to get around this is with flushing the output via the pythonidelib module. It&#8217;s as simple as: import pythonidelib pythonidelib.FlushOutput()<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_links_to":"","_links_to_target":""},"categories":[4],"tags":[],"_links":{"self":[{"href":"http:\/\/blog.stevenzaharakis.com\/index.php\/wp-json\/wp\/v2\/posts\/72"}],"collection":[{"href":"http:\/\/blog.stevenzaharakis.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.stevenzaharakis.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.stevenzaharakis.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.stevenzaharakis.com\/index.php\/wp-json\/wp\/v2\/comments?post=72"}],"version-history":[{"count":2,"href":"http:\/\/blog.stevenzaharakis.com\/index.php\/wp-json\/wp\/v2\/posts\/72\/revisions"}],"predecessor-version":[{"id":74,"href":"http:\/\/blog.stevenzaharakis.com\/index.php\/wp-json\/wp\/v2\/posts\/72\/revisions\/74"}],"wp:attachment":[{"href":"http:\/\/blog.stevenzaharakis.com\/index.php\/wp-json\/wp\/v2\/media?parent=72"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.stevenzaharakis.com\/index.php\/wp-json\/wp\/v2\/categories?post=72"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.stevenzaharakis.com\/index.php\/wp-json\/wp\/v2\/tags?post=72"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}