[prog] Quick Python question

Chris Wilson chris at aptivate.org
Thu Jul 14 11:12:54 UTC 2011

Hi David,

On Thu, 14 Jul 2011, David Sumbler wrote:

> But if I type help(tkinter.Message.config) I get
> 	Help on function configure in module tkinter:
> 	configure(self, cnf=None, **kw)
>    		Configure resources of a widget.
>    		The values for resources are specified as keyword
>    		arguments. To get an overview about
>    		the allowed keyword arguments call the method keys.
> I may well be being a bit stupid here, but try as I might, I can't
> figure out what I am supposed to do to get the information I want.  What
> does it mean by "call the method keys"?  Everything I have tried doesn't
> work.
> Can somebody explain what Python is telling me to do, please?

What happens if you call tkinter.Message.keys()? or keys(tkinter.Message)?

Cheers, Chris.
Aptivate | http://www.aptivate.org | Phone: +44 1223 760887
The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES

Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.

More information about the Programming mailing list