title: Python: Merging and editing
body: <pre><code>year = 2014
  url = 'http://en.wikipedia.org/wiki/List_of_Bollywood_films_of_2014'
  page = urllib.urlopen(url)
  soup = BeautifulSoup(page.read())
  movieList = soup.findAll('table',{'class','wikitable'})
  for list in movieList:
          rows = list.findAll('tr')
          for row in rows[:2]:
              #print row
              cells = row.findAll('td')
              i = len(cells)
              releaseDate = unicode(cells[i-5].find(text=True))
              month = unicode(cells[i-6].findAll(text=True))
              month = str(month)
              month = ''.join(str(item.strip()) for item in month)
              print "month: ",month
  </code></pre>
  
  <p>which prints
  month:  [u'A',u'\nP',u'\nR']</p>
  
  <p>i want to store this as a date 4 April 2014.
  How can i first make the month as APR or April and then store it as a date?</p>