You’re seeing a list of paths, as the dialog could return multiple paths at
once, if multiple paths were selected in the dialog.

If you only expect one, then it’d be safe to supply an index to the result.

print filePath[0]

​

-- 
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/CAFRtmOD8jp0Z%3DgQFLTZncH%2Bm0Wkq2Oj_A_xMYLNyowG1m-a%3Dvw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to