I don't use pymel, but I do use Python and pickle in Maya ;) From your above example, it looks like x is a tuple with two strings in it? Or is pymel storing more complex objects as the name representation of the nodes rather than strings? I'm not sure why this would choke (if it's just a tuple of strings), since on reload it's simply regenerating a tuple object with two string values that variable x points to, it should be independent from any Maya nodes in the scene itself.
Would be interesting to do: type(x[0]) and see what it returns back? When you pickle.load, in that module, do you have pymel imported? If not that could cause a problem. On the other hand, if I misunderstood your question, like Chad said, unpickling he saved file isn't going to rebuild any Maya nodes, so if you're expecting that to happen, that could be the issue as well ;) --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
