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

2007-12-31 Thread Gabriel Genellina
En Mon, 31 Dec 2007 05:09:37 -0200, <[EMAIL PROTECTED]> escribió: > I am sorry if I was not clear in what I was trying to achieve. All I > wanted was simple way to achieve what windows does when you use search > for Files or Folders, and all the files that mach two words like foo > and bar in the

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 John Machin
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, > > >> I am new to python and wanted to write something for myself where > >> after inputing two wo

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 John Machin
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 in files name would either copy or move thoe files to a > specified directory. > > But co

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

2007-12-30 Thread infixum
> > after changing i got this > >     path = r"c:\" >                 ^ > SyntaxError: EOL while scanning single-quoted string Sorry about that. You can't end with a backslash - my bad. I just tried this in the interpreter and 'c:' works. -- http://mail.python.org/mailman/listinfo/python-list

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-

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

2007-12-30 Thread infixum
> path = r"c:\\" I don't know if this is the whole problem, but this line should read r'c:\' (one backslash). -- http://mail.python.org/mailman/listinfo/python-list

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