Added basename() to path
This will be useful for finding the file referred to by a path.
This commit is contained in:
parent
4f1b1d0162
commit
778945fea5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue