Re: Retrieving Filename from Path

2005-08-31 Thread Rob Cowie
Thanks, os.path.basename(filePath) it is then. BTW, the help(module) function is new to me! Must have missed it when reading the tutorial. Cheers! -- http://mail.python.org/mailman/listinfo/python-list

Re: Retrieving Filename from Path

2005-08-31 Thread robert . dowell
>>> import os.path >>> help(os.path) Help on module ntpath: NAME ntpath - Common pathname manipulations, WindowsNT/95 version. FILE c:\data\utils\python24\lib\ntpath.py DESCRIPTION Instead of importing this module directly, import os and refer to this module as os.path. FUNCTION