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

Joe Potter jm7potter at hotmail.com
Wed Jul 11 06:21:01 EDT 2001


On 10 Jul 2001 20:29:23 -0400, David Bolen <db3l at fitlinxx.com> wrote:

>"Steve S.L. Wong" <sailwong at alumni.cuhk.edu.hk> writes:
>
>> if sscanf(command,"%c%d",&c,&d) != 2 {
>> }
>
>You seem to be posting a lot of one line translation requests - are
>you trying to get a program translated to Python one line at a time?
>
>If so, perhaps you could just post the whole thing and we'd have a
>shot at it in one pass and save some electrons :-)
>
>--


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






More information about the Python-list mailing list