Newbie-ish question

Patrick Moorman patrick at palacecomputers.com
Mon Nov 19 16:39:06 EST 2001


I have a directory containing a large number of files in the format xy.txt
where x is a string of numbers and/or letters and y is a sequential number
with either 2 or 3 digits.  Example:  1foo23012.txt or foo12305.txt.  How
would I go about identifying all of the files in a sequence and moving them
to their own sub-directory.  I am slowly picking up on Python, but there is
a long ways to go.  Thanks for any help.

PKM





More information about the Python-list mailing list