Newbie asks: How to translate this line of C to Py

Tim Roberts timr at probo.com
Tue Jul 10 02:07:28 EDT 2001


"Steve S.L. Wong" <steve at hkit.net> wrote:

>while (command = strtok(line_ptr,";"),line_ptr=0,command) {
>}

  while line_ptr.split(';'):
    ...do stuff...
--
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.



More information about the Python-list mailing list