Eric Brunel wrote:

On Tue, 19 Apr 2005 09:35:03 -0400, Peter G Carswell <[EMAIL PROTECTED]> wrote:

Good Morning.

I am new to Tkinter. I have been testing the installation of Tkinter
through the python web site. The first two test steps give no errors,
'import _tkinter' and 'import Tkinter'. However, the third step,
'Tkinter._test', gives the error:
    <function _test at 0xb7ec8df4>


This is not an error. It's just the value of the _test function in the Tkinter module. You don't give the URL where you found the installation/test instructions, but you probably want:

Tkinter._test()

which *calls* the function. Tkinter._test just returns its value (functions are first class objects in Python...)

HTH

Thanks, I realized my beginners' error just after I emailed the newgroup. I am sure this won't be my last question.


pete


--
Peter G. Carswell The Ohio Supercomputer Center
[EMAIL PROTECTED]
work: 614.292.1091 fax: 614.292.XXXX
"DOC NOTE, I DISSENT. A FAST NEVER PREVENTS A FATNESS. I DIET ON COD."
-Peter Hilton


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to