ubtle,
and more motivating than that.
Any suggestions?
--
Abel Daniel
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Bill Mill writes:
> I get the impression that many pythonistas don't like string
> interpolation. I've never seen a clear definition of why.
>From "import this":
Explicit is better than implicit.
And doesn't perl's method mean that you have to escape _every_
_single_ '$' in strings? I think
labels", a bit longer)
ps. For extra wierdness, in python "there is only one number 5" isn't
true for large numbers:
>>> a=100
>>> b=100
>>> a is b
False
Using a large number is important: integers up to 99 are cached, so
they _are_ unique (we would get True above). For larger numbers, the
cacheing is more subtle, for example:
>>> a, b = 100, 100
>>> a is b
True
--
Abel Daniel
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
better of with say, pygtk. However, pygtk afaict isn't available on as
many platforms as tkinter.
So tkinter is a good module to use if you only want simple widgets,
but be prepared to switch to something newer when you hit it's limitations.
--
Abel Daniel