lordgafal
January 26th, 2011, 07:29 PM
Hi,
in my off-time lately i have been learning python and pygtk to make an application. well anyway i got stuck on a RE problem if anyone could please help
here where it gets stuck (actually dosent do anything):
clean_sources_lists = [item for item in listOfSrc if re.search(pattern, item)]
in context:
def cleanSrcList(self, listOfSrc):
pattern = '^deb.'
clean_sources_lists = [item for item in listOfSrc if re.search(pattern, item)]
thanks for helping
in my off-time lately i have been learning python and pygtk to make an application. well anyway i got stuck on a RE problem if anyone could please help
here where it gets stuck (actually dosent do anything):
clean_sources_lists = [item for item in listOfSrc if re.search(pattern, item)]
in context:
def cleanSrcList(self, listOfSrc):
pattern = '^deb.'
clean_sources_lists = [item for item in listOfSrc if re.search(pattern, item)]
thanks for helping