How to get the extension of a filename from the path

gene tani gene.tani at gmail.com
Thu Dec 8 17:15:59 CET 2005


Lad wrote:
> Thank you ALL for help
> Regards,
> L.

addendum: ASPN Python cookbook often has something relevant /
modifiable for your needs:

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/81931
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52661

(in this case code from 2001 / 2 is probably py 2.0 or 2.1, shd still
work)




More information about the Python-list mailing list