Popular recipes tagged "strings" but not "python"http://code.activestate.com/recipes/tags/strings-python/2012-11-18T21:49:51-08:00ActiveState Code Recipespython string concatenation (Python)
2012-11-18T21:49:51-08:00akhil jaggarwalhttp://code.activestate.com/recipes/users/4184305/http://code.activestate.com/recipes/578333-python-string-concatenation/
<p style="color: grey">
Python
recipe 578333
by <a href="/recipes/users/4184305/">akhil jaggarwal</a>
(<a href="/recipes/tags/efficient/">efficient</a>, <a href="/recipes/tags/strings/">strings</a>).
</p>
<p>tests efficiency of string concatenation operations in python</p>
format_iter: easy formatting of arbitrary iterables (Python)
2011-08-16T11:44:59-07:00Nick Coghlanhttp://code.activestate.com/recipes/users/2035254/http://code.activestate.com/recipes/577845-format_iter-easy-formatting-of-arbitrary-iterables/
<p style="color: grey">
Python
recipe 577845
by <a href="/recipes/users/2035254/">Nick Coghlan</a>
(<a href="/recipes/tags/formatting/">formatting</a>, <a href="/recipes/tags/strings/">strings</a>).
</p>
<p>The <code>format_iter</code> recipe defines a simple wrapper around <code>str.join</code> and <code>str.format</code> that makes it easy to format an arbitrary iterable with a specified format string and item separator.</p>