Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am very new to programming w/ Maya Python commands, but have been programming in Python for a little while.
I want to remove doubles from a list by doing the good ol' list(set(list_with_doubles)), but Maya's Script Editor keeps returning the following error:
Error: TypeError: file <maya console> line 3: 'NoneType' object is not callable
The code could not be simpler. The error occurs on line 3:
l = [1, 2, 2]
s = set(l)
newList = list(s)
This works with other Python interpreters? What am I missing?
Solved! Go to Solution.