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

David Bolen db3l at fitlinxx.com
Wed Jul 11 02:29:23 CEST 2001


"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
-- 
/-----------------------------------------------------------------------\
 \               David Bolen            \   E-mail: db3l at fitlinxx.com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \
\-----------------------------------------------------------------------/



More information about the Python-list mailing list