proto-PEP: interpolated strings using ""if
Roman Suzi
rnd at onego.ru
Sat Feb 8 02:29:59 EST 2003
More information about the Python-list mailing list
Sat Feb 8 02:29:59 EST 2003
- Previous message (by thread): proto-PEP: interpolated strings using ""if
- Next message (by thread): proto-PEP: interpolated strings using ""if
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, 8 Feb 2003, Anthony Baxter wrote: >Examples > > >>> a, b = 5, 6 > >>> print "a = $a, b = $b"if > a = 5, b = 6 What is wrong with: print "a= %(a)s, b = %(b)s" % vars() ??? Sincerely yours, Roman Suzi -- rnd at onego.ru =\= My AI powered by Linux RedHat 7.3
- Previous message (by thread): proto-PEP: interpolated strings using ""if
- Next message (by thread): proto-PEP: interpolated strings using ""if
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list