Re: Python's Reference And Internal Model Of Computing Languages

2010-02-05 Thread David Thole
I read thisand am a tiny bit confused about the actual problem. It's not exactly complex to realize that something like: a = b = array that a and b both point to the array. Logically speaking, I'm not sure how one could assume that the same assignment would yield a and b point to the same dup

Re: PHP's str_replace ?

2008-09-10 Thread David Thole
On Sep 10, 12:20 pm, Christian Heimes <[EMAIL PROTECTED]> wrote: > Anjanesh Lekshminarayanan wrote: > >> import re > >> new_str = re.sub('[aeiou]', '-', str) > > Wow - this is neat. Thanks > > But probably slower and definitely harder to understand. For simple > problems the str methods are usually

Re: How to record audio from Python on Mac?

2008-09-09 Thread David Thole
ld be easy (if they have applescript bindings): http://www.macosxhints.com/article.php?story=20011108211802830 You could probably also do what Kevin recommends, but depending on your needs, this may be a whole lot more simple. -David Thole http://www.thedarktrumpet.com -- http://mail.python.org/mailman/listinfo/python-list