Skip to content

os.path.split(__file__)[0]os.path.dirname() #1

@kangwonlee

Description

@kangwonlee
  • os.path.dirname or os.path.basename instead of os.path.split when possible
  • os.path.split(__file__)[0]os.path.dirname()
  • os.path.split(__file__)[-1]os.path.basename()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions