Python findall converion to array
<p>I need to use FINDALL to grab all the specific webpages and pass them into an array 
but just the links without quotes this is what i have so far 
if not an array a variable i can pass into each individual link in a loop that i can use them one by one or all at once </p>

<pre><code>#!/usr/bin/env python
import re,urllib,urllib2

Url = "http://www.ihiphopmusic.com/music"
print Url
print 'test .............'
req = urllib2.Request(Url)
print "1"
response = urllib2.urlopen(req)
print "2"
#reads the webpage
the_webpage = response.read()
#grabs the title
the_list = re.findall(r'number-link" href="(.*?)#comments"&gt;0&lt;/a&gt;',the_webpage)
print "3"
the_list = the_list.split(',')
arrlist = array('c',the_list)
print arrlist
</code></pre>

<p>Results </p>

<pre><code>http://www.ihiphopmusic.com/music
test .............
1
2
3
Traceback (most recent call last):
  File "grub.py", line 17, in &lt;module&gt;
    the_list = the_list.split(',')
AttributeError: 'list' object has no attribute 'split'
</code></pre>
