Just a note - I prefer the sprintf-style notation of string interpolation in Python, but there are also other, less cumbersome ways:
print "Hello",foo,"." # not quite the same output but close enough print "Hello %s." % (foo) # printf-style interpolation
Manually concatenating strings is soo low-level :-)
In reply to Re: The Law of Inconsistent Assumptions
by Corion
in thread The Law of Inconsistent Assumptions
by dimar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |