Hi, is this the right (shortest) way to get the file extention (under MS WIN)?
def getext(fname): ext = fname.split('.').pop() return ext Regards, Emily ----------------------------- B2B портал за продуктите на HP Цени, спецификации, on-line поръчки, доставка. Регистрирайте се на http://hp.most.bg _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor