What's wrong?
root
zet at i.com.ua
Sun Oct 8 05:48:57 EDT 2000
from window1Handlers import *
class window1Widget:
def add_col(co=[]):
for cc in co:
print cc
self.li=GtkListItem('123')
self.list1.add(self.li)
self.li.show()
def download_process(xxxxxx=None):
print 'now working'
homedir = '.'
main_url = 'http://www.findserendipity.com/'
#main_page = urllib.urlopen(main_url+'collections.html').read()
main_page = open('cool.html').read()
mainpars = extract_links(main_page)
collections = no_doubles(select_html(mainpars.anchorlist))
self.add_col(collections) # WHY this is an error? (Name Error:
self)
More information about the Python-list
mailing list