From: D-Man <ds...@ri...> - 2001-07-16 17:36:14
|
On Mon, Jul 16, 2001 at 07:37:04PM +0100, Ype Kingma wrote: | Kevin, | | >Is there anyway to find out the type of an object? E.g. | > | >>>> a = 1 | >>>> a.isa(int) | >1 | | Apart from instanceof() (other post) you can also use: Heh, too much Java for you too :-). 'instanceof' is a builtin operator in Java, not Python. -D |