>>>>> "Tim" == Tim Chase <[EMAIL PROTECTED]> writes:

    >> How can I print a tuple with a single string format?

    Tim>        print "a = %s" % str(a)
    Tim> or
    Tim>        print "a = %s" % repr(a)

Or wrap the tuple in a tuple:

    print "a = %s" % (a,)

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

Reply via email to