Re: help me~!!!'tuple' object has no attribute 'compile'

2008-11-12 Thread Peter Pearson
On Wed, 12 Nov 2008 02:07:46 -0800 (PST), [EMAIL PROTECTED] wrote: [snip] > > import urllib > import urllib2 > import re > import MySQLdb > > conn=MySQLdb.connect > (host="localhost",user="root",passwd="ylj",db="net", charset="utf8") > cur = conn.cursor() > sql='select > net_site.downline_re,net_si

Re: help me~!!!'tuple' object has no attribute 'compile'

2008-11-12 Thread John Machin
On Nov 12, 9:07 pm, [EMAIL PROTECTED] wrote: > my code > --- > # -*- coding: utf8 -*- > #!/usr/bin/python > > import urllib > import urllib2 > import re > import MySQLdb > > conn=MySQLdb.connect > (host="localho

help me~!!!'tuple' object has no attribute 'compile'

2008-11-12 Thread ylj798
my code --- # -*- coding: utf8 -*- #!/usr/bin/python import urllib import urllib2 import re import MySQLdb conn=MySQLdb.connect (host="localhost",user="root",passwd="ylj",db="net", charset="utf8") cur = conn.c