One-liner possible?
<p>I know that in Python this is possible:</p>

<pre><code>'\n'.join(alist)
</code></pre>

<p>Assuming the 'alist' is a list of urls, can I output an HTML string which will produce a list of href tags, something like this</p>

<pre><code>'&lt;a href="'.join(alist)
</code></pre>

<p>I know the above is wrong, but I was wondering if there was a smarter way to do this. I have done the following with works:</p>

<pre><code>for u in adict[alist]:
    fileHandle.write('&lt;a href="' + u + '"&gt;' + u + '&lt;/a&gt;&lt;br&gt;')       
</code></pre>

<p>Basically, is there a way of somehow replacing the above for loop with a join statement? A one-liner perhaps?</p>
