List elements to variables
<p>Inspired by the accepted answer to <a href="http://stackoverflow.com/questions/904041/reading-a-utf8-csv-file-with-python">Reading a UTF8 CSV file with Python</a>, I've tried the following but get</p>

<pre><code>ValueError: need more than 5 values to unpack
</code></pre>

<p>Seems the empty strings are tripping me here. Is there a function I should apply to <code>row</code> to make this work? I'll need to work with these variables individually further down the line. Thanks.</p>

<pre><code> def encodevar(x):
     return x

 row = ['85123', '', '123 The Address', '', '', 'TUCSON', 'AZ ', 'The Company Name', '', '']
 for zip5,zip4,strname,strnumber,strsuite,city,state,busname,lname,fname in row:
            HHid = encodevar( zip5 )     +\
                   encodevar( zip4 )     +\
                   encodevar( stname )   +\
                   encodevar( stnumber ) +\
                   encodevar( stsuite )  +\
                   encodevar( busname )
</code></pre>
