"Chernev Chernev" <[EMAIL PROTECTED]> wrote > So in the script I write: > print type([object] > > This bombs, and I get > "TypeError: 'str' object is not callable'
> In the interactive, 'type([object])' works fine. Looks like you have defined type as a local variable somewhere in your script and this is masking the type() function. HTH, -- Alan Gauld Author of the Learn to Program web site http://www.freenetpages.co.uk/hp/alan.gauld _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
