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
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
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