Re: [Tutor] Beginning Python From Perl

2011-11-08 Thread Peter Camilleri
I too learnt perl first and I came to learn python through the google python class http://code.google.com/edu/languages/google-python-class/ It has video lectures and exercises which should help you illustrate the basic concepts in each video. I am by no means an python expert, but I feel that s

Re: [Tutor] improve the code

2011-11-03 Thread Peter Camilleri
Not sure if that is what you are after since you are calling re.split() using items when Peter was using re.split() on a single item within items so instead of this parts = re.split(r"(\d+)", str(items)) try specifying just one item, like this parts = re.split(r"(\d+)", items[0]) On Fri, Nov 4, 2