Newbie asks(2): How to do this line of C in Py?

Joe Potter jm7potter at
Wed Jul 11 19:12:22 CEST 2001

On 11 Jul 2001 08:43:22 -0700, rzantow at (- RZ) wrote:

>Joe Potter <jm7potter at> wrote in message news:<7s9oktcv5vll2hberldlt51mcdg5qnitke at>...
>> David,
>> I have followed these questions with great interest. I hope he keeps asking for a
>> while --- and folks here keep answering.
>> As a newbie to Python, I find that the one liners in c are easy to follow and the
>> translation into Python show me where I am missing Python techniques.
>> My purpose in writing this is simply to say you are not just helping Mr. Wong when
>> you respond.
>> Regards, Joe
>Well yeah, but.... 
>Given a little context, the answers could vary considerably from the
>line-at-a-time approach. There's a difference between transliteration
>and translation. It might well be more educational to learn the best
>Pythonic way to accomplish a task than to learn how to write C in

You are quite correct. There are many, many threads here that are "more educational"
that the one-liners are. I read most of them. I have picked up a lot via reading
these "better" threads. 

However, the one-liners have been fun also.

Regards, Joe

More information about the Python-list mailing list