converting letters to numbers

Tim Roberts timr at probo.com
Sat Oct 19 19:31:14 EDT 2013


Steven D'Aprano <steve at pearwood.info> wrote:
>On Sun, 13 Oct 2013 20:13:32 -0700, Tim Roberts wrote:
>
>> def add(c1, c2):
>>      % Decode
>>...
>Python uses # for comments, not %, as I'm sure you know. What language 
>were you thinking off when you wrote the above?


Psssht, I know better than that.

I've been reading through MATLAB code, which uses %, but I have CERTAINLY
not written enough MATLAB to excuse that.
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-list mailing list