Rotary wrote:

> I want to say something like that: if msg is empty ...then do 
> something. So how can i figure that msg is empty string (no 
> character, msg = ''). 

#v+

if not msg:
    print 'msg is empty'

#v-

-- 
Klaus Alexander Seistrup
Magnetic Ink, Copenhagen, Denmark
http://magnetic-ink.dk/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to