Added basename() to path

This will be useful for finding the file referred to by a path.
This commit is contained in:
Bryan Schumaker 2010-11-16 21:14:45 -05:00
parent 4f1b1d0162
commit 778945fea5
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ exists = os.path.exists
is_dir = os.path.isdir
expand = os.path.expanduser
splitext = os.path.splitext
basename = os.path.basename
join = os.path.join
makedir = os.mkdir
rm = os.remove