On Dec 31, 2:54 am, abhishek <[EMAIL PROTECTED]> wrote: > > Use this function -- > > def omitNonAscii(nstr): > sstr='' > for r in nstr: > if ord(r)<127: > sstr+=r > return sstr
<Yoda> Learn the ways of the generator expression you must. </Yoda> See Dan Bishop's post. -- Paul -- http://mail.python.org/mailman/listinfo/python-list