[python-win32] RE working in interactive but not in regular code

2006-11-17 Thread James Matthews
I have this RE things= re.findall(r'\?Brand\=\w+\pg=\w+',site) now when i run it against a site it returns everything in a list ( in the interactive interpreter however when i run it start alone it won't work?? Why? -- http://www.goldwatches.com ___

Re: [python-win32] RE working in interactive but not in regular code

2006-11-17 Thread Tim Roberts
James Matthews wrote: I have this RE things= re.findall(r'\?Brand\=\w+\pg=\w+',site) now when i run it against a site it returns everything in a list ( in the interactive interpreter however when i run it start alone it won't work?? Why? Show us an example, including what you expect and what

Re: [python-win32] RE working in interactive but not in regular code

2006-11-17 Thread Bob Gailer
James Matthews wrote: I have this RE things= re.findall(r'\?Brand\=\w+\pg=\w+',site) now when i run it against a site it returns everything in a list ( in the interactive interpreter however when i run it start alone it won't work?? Why? You will probably get more help if you tell us what