On May 2, 1:35 pm, [EMAIL PROTECTED] wrote: > How to check if a string is empty in python? > if(s == "") ??
Empty strings and containers are false; so one can write if (not s): print "something..." -- Hope this helps, Steven -- http://mail.python.org/mailman/listinfo/python-list