Is there a simple way to determine if a variable is a list, dictionary, or something else? I am getting an object back that may be either type and I need to be able to tell the difference.
转载于:https://stackoverflow.com/questions/2225038/determine-the-type-of-an-object