From: Brad C. <bc...@vi...> - 2002-03-21 18:18:29
|
Does python have a way of interpolating variables into strings, along the lines of this perl example? my $title = "My title"; my $body = "Blah, blah"; print """ <html> <head> <title>$title</title> </head> <body>$body</body> </html>""" -- Brad Cox, PhD; bc...@vi... 703 361 4751 o For industrial age goods there were checks and credit cards. For everything else there is http://virtualschool.edu/mybank o Java Interactive Learning Environment http://virtualschool.edu/jile o Java Web Application Architecture: http://virtualschool.edu/jwaa |