On 22/03/06, Tim Williams (gmail) <[EMAIL PROTECTED]> wrote:


> if  u"h" in u"hello, world !" and u"hello, world !".from("h"):
>      return " u"hello, world !"
>else:   # not really required, used for demonstration only
>      return

:)


OK,  python allows me to code faster than I can think ( not that hard really!! )   Proof-reading is my next personal goal too.

 Try this instead.

> if  u"h" in u"hello, world !":
>       return u"hello, world !".from("h"):
>else:   # not really required, used for demonstration only
>      return


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to