Peter Saffrey wrote:
> I'd like to resurrect this subject:
>
> http://groups.google.com/group/comp.lang.python/browse_frm/thread/11146344b03e72b6/6b2a3b0c0e902114?lnk=gst&q=basename&rnum=2#6b2a3b0c0e902114
>
> [snip]
>
> Or have I missed something?
>
The Python developers are working on a new path
I'd like to resurrect this subject:
http://groups.google.com/group/comp.lang.python/browse_frm/thread/11146344b03e72b6/6b2a3b0c0e902114?lnk=gst&q=basename&rnum=2#6b2a3b0c0e902114
If I have a path like this:
mypath = /some/long/path/file.xml
and I want "file" I currently have to do:
os.path.bas