I was testing different methods to print something because apparently nothing gives me output…
I tried without brackets, with brackets, only a string and a string + another object, nothing works…
I dont know why you invoke the sys module, when maya.cmds have error handle.
Is very funny, because your code.. is working to me.
I writed another code more optimized, i hope is helped for you.
`import maya.cmds as cmds
def todo():
sel = cmds.ls(sl=True)
if len(sel) == 0:
cmds.error(“Not enought objects selected.”)
else:
print(‘heloow:%s’ %sel)