[Tutor] parsing woes

Vicki Stanfield vicki at thepenguin.org
Mon Aug 25 09:41:22 EDT 2003


>> I'll have to look into the len function. I was under the assumption that
>> not knowing what the length of the parameter would prohibit its use. The
>> parameters could be a single letter or number of multiple letter/number
>> combination. I only know that they will be space-delimited.
>
> Note that the param_count = len(params) format that many of us suggested
> does not tell you the length in chars of *each* parameter, it tells you
> the
> length of the parameter *list*, which is to say how many elements are in
> that list.
>
> -clay
>
>

Okay, I will look at this when I get time since it does sound like a
better way. Currently it works as is and I am onto the next hurdle.

Thanks,
--vicki



More information about the Tutor mailing list