If what you're looking for is to get the objects listed in the namespace, try the following:
cmds.namespaceInfo(":ANIMAL1APE01", listNamespace=True)
This will return a list of objects in the ANIMAL1APE01 namespace.
For a listing of the namespaces that maya knows about, try this:
cmds.namespaceInfo(":", listOnlyNamespaces=True)
Other than that, we really need to know exactly what you're trying to do--namespaces have lots of tricky options, and due to Maya's less-than-pythonic string-based implementation, very few of them are pretty. The few things I can point out, without knowing exactly what you're trying to do, is that you have to specify namespaces explicitly--that is, you must preface the name of the namespace with ":" to indicate that it is relative to the root namespace. You should also ensure that you're currently in the root namespace--Maya keeps track of the "current" namespace, and if you don't use absolute addressing, it will search relative to the current. So, if you didn't use the colon (":") at the beginning of the namespace, and ANIMAL1APE01 was the current namespace, then it would be looking for a child namespace of ANIMAL1APE01, which would actually be a child of ANIMAL1APE01. The absolute addressing would solve this issue.
Hope that helps, if you can clarify your needs, I can probably help get something more useful together.
Joe