'How to pass a python string containing @ character character in a MEL.Eval function
Im trying to pass a path containing a @ special character in a FBX export mel command using the mel python package.
fullPath = "E:\SomeFolder\[email protected]"
mel.eval('FBXExport -f "{}" -s'.format(fullPath))
Im getting this error
RuntimeError: Error occurred during execution of MEL script
# Line 1.14: Syntax error #
I've tried repr with Python but it seems to be a MEL sided error.
mel.eval('FBXExport -f "{}" -s'.format(repr(fullPath)))
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
