"Christos TZOTZIOY Georgiou" wrote:
>
> the 'in' operator searches for existance of *elements* in a set, not
> of *subsets*. BTW, only a frozenset can be included in a set.
ah! yes. that's clear now. thanks!
after all:
>>> for element in aset:
print element,
why did i think that 'in'
On Thu, 17 Mar 2005 00:54:46 +0300, rumours say that "Raseliarison nirinA"
<[EMAIL PROTECTED]> might have written:
>i'll recite 42 times precedence rules before going to bed.
>but now i'm a bit confused by the -in- operator. as:
>
>>>> set(['TRUE','YES']).issubset(set(dir(Tkconstants)))
>T
"Christos TZOTZIOY Georgiou" wrote:
> On Tue, 15 Mar 2005 16:48:17 +0300,
> rumours say that [i] might have written:
>
> >yes, indeed.
> import Tkconstants
> 'True' and 'YES' in dir(Tkconstants)
> >True
> >
> >thanks Harlin,
>
> I hope you also know that
>
> .>> 'inexistent keyword' and '
On Tue, 15 Mar 2005 16:48:17 +0300, rumours say that "Raseliarison nirinA"
<[EMAIL PROTECTED]> might have written:
>yes, indeed.
import Tkconstants
'True' and 'YES' in dir(Tkconstants)
>True
>
>thanks Harlin,
I hope you also know that
.>> 'inexistent keyword' and 'YES' in dir(Tkconsta
"Harlin Seritt" wrote:
> either YES, True, or 1 should work.
>
yes, indeed.
>>> import Tkconstants
>>> 'True' and 'YES' in dir(Tkconstants)
True
thanks Harlin,
--
nirinA
--
http://mail.python.org/mailman/listinfo/python-list
either YES, True, or 1 should work.
--
http://mail.python.org/mailman/listinfo/python-list
That was it Martin. I forgot to expand the parent.
Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
"Martin Franklin" wrote:
> Harlin Seritt wrote:
> > I am trying the following:
> >
> > Listbox(parent).pack(fill=BOTH, expand=YES)
> >
> > I notice that the listbox will fill on the X axis but will not on
> > the Y axis unlike other widgets.
> > Is there any way to force this?
> >
> > thanks,
> >
Harlin Seritt wrote:
I am trying the following:
Listbox(parent).pack(fill=BOTH, expand=YES)
I notice that the listbox will fill on the X axis but will not on the Y
axis unlike other widgets. Is there any way to force this?
thanks,
Harlin
Harlin,
It should expand (and fill ) in both directions have