M.E.Farmer wrote:
anthonyberet wrote:
Hi, I am new at Python, and very rusty at the one language I was good
at, which was BASIC.
I want to write a script to compare filenames in chosen directories,
on
windows machines. Ideally it would compose a list of strings of all
the
filenames in the director
anthonyberet wrote:
> Hi, I am new at Python, and very rusty at the one language I was good
> at, which was BASIC.
>
> I want to write a script to compare filenames in chosen directories,
on
> windows machines. Ideally it would compose a list of strings of all
the
> filenames in the directories, a
Hi Anthony
Here is some stuff to get you started (this is from memory, I'm not
checking it, but should be mostly helpful):
***
import os
os.chdir('C:\My Documents') # Can use this to jump around to different
folders
fileNames = os.listdir('.') # Checks the now current folder
namesToMatch = [
Greg Krohn <[EMAIL PROTECTED]> writes:
> anthonyberet wrote:
[...]
> > I want to write a script to compare filenames in chosen directories,
> > on windows machines. Ideally it would compose a list of strings of
> > all the filenames in the directories, and those directories would be
> > chosable by
anthonyberet wrote:
Hi, I am new at Python, and very rusty at the one language I was good
at, which was BASIC.
I want to write a script to compare filenames in chosen directories, on
windows machines. Ideally it would compose a list of strings of all the
filenames in the directories, and those
Hi, I am new at Python, and very rusty at the one language I was good
at, which was BASIC.
I want to write a script to compare filenames in chosen directories, on
windows machines. Ideally it would compose a list of strings of all the
filenames in the directories, and those directories would be