Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I'm missing the ability to print to the Output Window from Maya 2022, like I could in 2020 and below.
My primary use and what I miss the most is "clearing" the output window, when I'm particulatly keen on what message comes next in a series of similar messages.
import sys
for emptyline in range(50):
sys.__stdout__.write("\n")
For completenss, __stdout__ is Python's original sys.stdout, used in cases where someone overwrites it like Maya does to instead print to the Script Editor.
sys.stdout
# Result: <maya.Output object at 0x0000020B4AF819F0> #
Is there another way of writing to the Output Window?
Solved! Go to Solution.