John wrote:
> Just a quick follow up.. it doesn't work :s
>
> There are definitely some problems... ideas are welcome!
I have an idea: use a regular expression :D
Unfortunately, I don't have the knowledge of these down well enough to
just spout one off OTOH,
and I've got somewhere I have to be, but I believe that you could use
regexps to solve this quite easily.
Good luck, and hopefully someone more helpful will chime in.
-Luke
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor