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 file
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
path = rc:\\
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
On Sun, 30 Dec 2007 18:42:50 -0800 (PST), infixum [EMAIL PROTECTED]
wrote:
path = rc:\\
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 = rc:\
^
SyntaxError: EOL while scanning single-quoted
after changing i got this
path = rc:\
^
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
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 couple of
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 in files name
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 words it would search
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,
I am new to python and wanted
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 is that
10 matches
Mail list logo