Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

Update autodiscovery function for windows #118

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hansey
Copy link

@hansey hansey commented Apr 26, 2022

The sep of path under windows is "" instead of "/" under linux or macos. Update a variable to automatically change the sep of path

@ChihweiLHBird
Copy link
Member

Can we do the same thing with pathlib, the more modern Python APIs?

@hansey
Copy link
Author

hansey commented May 6, 2022

@ChihweiLHBird you mean directly get the name via Path(path).name?

@ahopkins
Copy link
Member

@ChihweiLHBird you mean directly get the name via Path(path).name?

yes

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants