ggle["text"] = "Hide Example"
then I get the same behavior as yesterday.
--
The Green Tea Leaf thegreenteal...@gmail.com thegreentealeaf.blogspot.com
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
mylabel.visible = not mylabel.visible
Unfortunately, it doesn't work. I can see the label flashing when I
press the button but it's not visible unless I press the button again.
--
The Green Tea Leaf thegreenteal...@gmail.com thegreentealeaf.blogspot.com
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
d yes, the else statement is
executed). If I change the else-statement to
'mylabel.place(x=70,y=150)'
Any idea what I'm missing?
--
The Green Tea Leaf thegreenteal...@gmail.com thegreentealeaf.blogspot.com
___
Tutor maillist -
OK, thanks.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
resents one window and where I want to be able to open multiple
windows of that class.
I hope you understand my question :)
--
The Green Tea Leaf thegreenteal...@gmail.com thegreentealeaf.blogspot.com
___
Tutor maillist - Tutor@python.org
To unsu
s a solution to this
> question, what documentation could I have looked at to find it on my
> own?
>
> BTW I'm using python 3.01 if it matters.
>
> --
> Robert Lummis
> ___
> Tutor maillist - tu...@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
--
The Green Tea Leaf thegreenteal...@gmail.com thegreentealeaf.blogspot.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
I got an email from him that he had a gzip.pyc file in that folder.
Once he deleted that everything works OK.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
ere's the output:
>> -
>> mho...@blackbox:~/code/python$ python gzip2.py
>> The name of the file will be
>> The name of the file will be 06-09-2009.gz
>> -
>> It's Python 2.6.2 on Ubuntu 9.04
&g
On Mon, Jun 8, 2009 at 17:26, Wayne wrote:
> On Mon, Jun 8, 2009 at 10:07 AM, The Green Tea Leaf
> wrote:
>>
>> Could it be some import statement? That the gzip file is "shadowed" in
>> some way?
>
> based on what the OP said, there's really nothing t
file will be 06-08-2009.gz
>> I can't figure out why 'The name of the file will be' is printing twice.
>> Any
>> help appreciated.
>
> If that is what you get then me neither!
>
> Alan G.
>
> ___
> Tutor maillist -
This doesn't happen on my machine. What is the filename ?
--
The Green Tea Leaf thegreenteal...@gmail.com thegreentealeaf.blogspot.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Thank you
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
ns (except that it affects the 'from
X import *'). And no I don't intend to break this, I just want to
check that I've understood correctly.
(I understand the name mangling feature of double underscore)
--
The Green Tea Leaf thegreenteal...@gmail.com
Parent.__init__, and not
> super, if only because of all the weird edge cases with super.
Yes, it was those edge cases that I was worried about.
--
The Green Tea Leaf thegreenteal...@gmail.com thegreentealeaf.blogspot.com
___
Tutor maillist - T
1):
> Parent.__init__(self,arg0)
> self.arg1 = arg1
So this is the preferred way? Not super(OneChild, self).__init__ ?
--
The Green Tea Leaf thegreenteal...@gmail.com thegreentealeaf.blogspot.com
___
Tutor maillist - Tuto
I just want to know what is the best way to do this.
As for an example, I would say the __init__ method where the parent
class do some initialization, to be sure that everything is set up
correctly I would call the parents class __init__ method before doing
something else.
OK, bad example. But assume I have the same method in both classes and
want to call the method in the parent.
On Tue, May 12, 2009 at 10:26, Jeremiah Dodds wrote:
>
>
> On Tue, May 12, 2009 at 9:05 AM, The Green Tea Leaf
> wrote:
>>
>> Hi,
>> I've started to
doing this and why?
Or should I mix both these approaches?
--
The Green Tea Leaf thegreenteal...@gmail.com thegreentealeaf.blogspot.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
18 matches
Mail list logo