wordnet.antonym()
Syntax
antonym(query)
Description
Returns the opposite of query as a list containing elements that are lists of related synonyms themselves.
Example
I would have expected life here!
wordnet = ximport("wordnet")
print wordnet.antonym("death")
>>>[['birth', 'nativity', 'nascency', 'nascence']]