Re: Extract value from a attribute in a string

2008-01-22 Thread inFocus
On Wed, 23 Jan 2008 01:13:31 -0200, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: >En Tue, 22 Jan 2008 23:45:22 -0200, <[EMAIL PROTECTED]> escribió: > >> I am looking for some help in reading a large text tile and extracting >> a value from an attribute? so I would need to find name=foo and >> ex

Extract value from a attribute in a string

2008-01-22 Thread inFocus
Hello, I am looking for some help in reading a large text tile and extracting a value from an attribute? so I would need to find name=foo and extract just the value foo which can be at any location in the string. The attribute name will be in almost each line. Thank you for any suggestions. --

Re: Help please with code to find and move files.

2007-12-30 Thread inFocus
On Sun, 30 Dec 2007 22:52:32 -0800, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: >On Sun, 30 Dec 2007 23:58:17 -0500, [EMAIL PROTECTED] declaimed the >following in comp.lang.python: > > >> I am sorry i thought I did say what I was tryng to do. > > The only thing I picked up from the thread i

Re: Help please with code to find and move files.

2007-12-30 Thread inFocus
On Sun, 30 Dec 2007 20:49:29 -0800 (PST), John Machin <[EMAIL PROTECTED]> wrote: >On Dec 31, 2:44 pm, [EMAIL PROTECTED] wrote: >> On Sun, 30 Dec 2007 19:29:38 -0800 (PST), John Machin >> >> >> >> >> >> <[EMAIL PROTECTED]> wrote: >> >On Dec 31, 1:04 pm, [EMAIL PROTECTED] wrote: >> >> Hello, >> >> >

Re: Help please with code to find and move files.

2007-12-30 Thread inFocus
On Sun, 30 Dec 2007 19:29:38 -0800 (PST), John Machin <[EMAIL PROTECTED]> wrote: >On Dec 31, 1:04 pm, [EMAIL PROTECTED] wrote: >> Hello, >> >> I am new to python and wanted to write something for myself where >> after inputing two words it would search entire drive and when finding >> both names i

Re: Help please with code to find and move files.

2007-12-30 Thread inFocus
On Sun, 30 Dec 2007 18:42:50 -0800 (PST), infixum <[EMAIL PROTECTED]> wrote: > >> path = r"c:\\" > >I don't know if this is the whole problem, but this line should read >r'c:\' (one backslash). after changing i got this path = r"c:\" ^ SyntaxError: EOL while scanning single-

Help please with code to find and move files.

2007-12-30 Thread inFocus
Hello, I am new to python and wanted to write something for myself where after inputing two words it would search entire drive and when finding both names in files name would either copy or move thoe files to a specified directory. But couple of attempts did not work as desired this is one of the