I have been trying to use Python's new print
formating for days now. It's gotten to the point that I have cut and pasted several book examples in an attempt to examine the issue.
print '{0} and {1}'.format('spam', 'eggs')
Even this example is yielding:
print '{0} and {1}'.format('spam', 'eggs')
^
SyntaxError: invalid syntax
What's going on?