title: TypeError: unsupported operand type(s) for +: 'Tag' and 'str'
body: <p>In my following code I am trying to append <code></code> to every start and end of the value so that I can perform SQL insert operation directly after running my python script. </p>
  
  <p>Following is code</p>
  
  <pre><code>print today,","+ (a['href'] if a else '`NULL`')+",", (a.string if a else 'NULL, NULL')+ "," +",".join(re.findall("'([a-zA-Z0-9,\s]*)'", (a['onclick'] if a else 'NULL, NULL, NULL, NULL, NULL, NULL')))+","+ ", ".join([project] + area),","+pdates+""
  </code></pre>
  
  <p>Here is my whole <a href="https://github.com/Venkateshwaran/ScreenScraping/blob/2e149c0b7fb693fc60abef40b39bc3cdc0693333/velachery.py" rel="nofollow">code</a></p>
  
  <p>And the <a href="https://github.com/Venkateshwaran/ScreenScraping/blob/2e149c0b7fb693fc60abef40b39bc3cdc0693333/final.sql" rel="nofollow">output</a> I am getting . Hope I am clear about what I want. </p>