Hi,

I was getting intermittent syntax errors from code entered into the *popup 
menu* of a shelf button, and have narrowed it down to an issue with using 
'%' in string formatting. Example:

text = 'working'
print 'why is this command not %s'%text

I'm wondering if this is a known issue, or if anyone has a solution?

Cheers!

Brian. 




-- 
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/284cbc26-51e7-4fcd-9e5f-ddbbc4eba3d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to