Closed kangwonlee closed 5 years ago
os.path.dirname
os.path.basename
os.path.split
os.path.split(__file__)[0]
os.path.dirname()
os.path.split(__file__)[-1]
os.path.basename()
os.path.dirname
oros.path.basename
instead ofos.path.split
when possibleos.path.split(__file__)[0]
→os.path.dirname()
os.path.split(__file__)[-1]
→os.path.basename()