In Python, it is tedious to write:
print \"foo is\" + bar + \'.\'
Can I do something like this in Python?
print \"foo is #{ba
Yes, absolutely. Python, in my opinion, has great support for string formatting, replacements and operators.
This might be helpful: http://docs.python.org/library/stdtypes.html#string-formatting-operations