print('test\n'), <-*Add a comma after the print() line, don't know why it 
works but it does

On Thursday, January 7, 2010 at 1:35:06 AM UTC-5, efecto wrote:
>
> I noticed that python's print doesn't output in the message command
> line next in the main interface of maya but we can see what's printed
> in the script editor fine.
>
> So I decided to use mel in python like below:
>
> import maya.mel as mel
> mel.print("test..\n")
>
> and this does not seem to work.. perhaps a syntax problem? Could
> someone point me to a right direction?
>
> Thank you all.
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/0a50aa86-ea4b-4d8a-af7b-8657922c685fo%40googlegroups.com.

Reply via email to