Message 1 of 1
Print string to command response window in Maya 2022/Python 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am trying to print a string to the command response window in Maya 2022 with python 3. In Maya 2018 and python 2, the following approach worked to print a string inside the window (simple comma after the string).
print "hello",
However, with python 3, I tried the following:
print ("hello"),
...and instead of printing to the window, it returns the following result:
# Result: (None,) #
It would be great if anyone can recommend the correct approach in Maya 2022
Thank you,
Craig