shutil.move(b,aa+"/"+f)
else:
os.mkdir(aa+"/"+f)
#os.mkdir(f)
shutil.move(b,aa+"/"+f)
else:
=3
x = x + 1
y = y - 1
--- End Code ---
[EMAIL PROTECTED] (Synony
tiissa <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> Synonymous wrote:
> > tiissa <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> >
> >>tiissa wrote:
> >>
> >>>If you know the number of
John Machin <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> On 17 Apr 2005 18:12:19 -0700, [EMAIL PROTECTED] (Synonymous)
> wrote:
>
> >
> >I will look for a Left$(str) function that looks at the first X
> >characters for python :)).
>
ys is when comparing a list, it looks at the 'Count' left
number of characters in the cell and compares it to the row cell
above's 'Count' left number of characters and then does the task (i.e.
makes a directory, moves the files) if they are equal.
I will look for a Left$(str) function that looks at the first X
characters for python :)).
Thank you for your help!
Synonymous
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
Can regular expressions compare file names to one another. It seems RE
can only compare with input i give it, while I want it to compare
amongst itself and give me matches if the first x characters are
similiar.
For example:
cccat
cccap
cccan
dddfa
dddfg
dddfz
Would result in the 'ddd' a