In article <[email protected]>, Robert Dailey <[email protected]> wrote: > I see what you're saying now. However, why am I able to use print as a > function in general-purpose code in my Python 2.6 script, like so: > > def SomeFunction(): > print( "Hello World" )
For the same reason you can do this: >>> x = ( "Hello World" ) >>> type(x) <type 'str'> -- Ned Deily, [email protected] -- http://mail.python.org/mailman/listinfo/python-list
