Tips archive 26 Dec 2007 dabase.com → Kai's Tech Tips → Python → Type checking or Object type comparisons Type checking or Object type comparisons Published 26 Dec 2007 http://www.python.org/peps/pep-0008.html No: if type(obj) is type(1): Yes: if isinstance(obj, int): ← Umask, permissions in newly created files Try use cPickle, it is faster →