Re: for: else: - any practical uses for the else clause?

2006-09-29 Thread Mike Klaas
On 9/29/06, Johan Steyn <[EMAIL PROTECTED]> wrote: > On 29 Sep 2006 11:26:10 -0700, Klaas <[EMAIL PROTECTED]> wrote: > > > else: does not trigger when there is no data on which to iterate, but > > when the loop terminated normally (ie., wasn't break-ed out). It is > > meaningless without break. >

Re: Regex anomaly

2006-01-02 Thread mike . klaas
Thanks guys, that is probably the most ridiculous mistake I've made in years -Mike -- http://mail.python.org/mailman/listinfo/python-list

Regex anomaly

2006-01-02 Thread mike . klaas
Hello, Has anyone has issue with compiled re's vis-a-vis the re.I (ignore case) flag? I can't make sense of this compiled re producing a different match when given the flag, odd both in it's difference from the uncompiled regex (as I thought the uncompiled api was a wrapper around a compile-and-

Re: How simputer COULD HAVE succeeded ?

2005-12-20 Thread mike . klaas
> PS. before investing time in Python, I wanted to find out if it > can interface low-level, by eg. calling the OS or C...etc. > eg. could it call linux's "dd if=.." ? In python you have full access to the shell, and excellent interoperability with c. -Mike -- http://mail.python.org/mailma