[Tutor] Looking for an edutainment-type introduction to programming book

2006-09-29 Thread Abel Daniel
ubtle, and more motivating than that. Any suggestions? -- Abel Daniel ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Re: Perl Symbology

2005-02-10 Thread Abel Daniel
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

[Tutor] Re: python's default argument value handling in functions - weird syntax? problem grappling with the concept

2005-02-09 Thread Abel Daniel
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

[Tutor] Re: Is Tkinter the Gui in python

2005-01-13 Thread Abel Daniel
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