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
|
is_dir = os.path.isdir
|
||||||
expand = os.path.expanduser
|
expand = os.path.expanduser
|
||||||
splitext = os.path.splitext
|
splitext = os.path.splitext
|
||||||
|
basename = os.path.basename
|
||||||
join = os.path.join
|
join = os.path.join
|
||||||
makedir = os.mkdir
|
makedir = os.mkdir
|
||||||
rm = os.remove
|
rm = os.remove
|
||||||
|
|
Loading…
Reference in New Issue