[EMAIL PROTECTED] wrote:
> Thanks for the example code Larry. It _is_ easier for me to read. I
> like the way you split the file on '.' I may use that. Thanks again!

Warning: that will fail on names with more than one "." in them.  It's 
generally best to use the provided tools for working with paths, in this 
case os.path.splitext() which will do the right thing in any case (even 
on names without extensions!).

-Peter

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to