On May 3, 6:35 am, [EMAIL PROTECTED] wrote: > How to check if a string is empty in python? > if(s == "") ??
Please lose the parentheses. if s == "": will work. So will if not s: Have you worked through the tutorial yet? -- http://mail.python.org/mailman/listinfo/python-list