We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would find it more convenient to not have to cast a path object to a string to get this to work. Not sure if anyone else would agree?
import os from pathlib import Path DIR_BASE = Path(os.path.dirname(__file__)).parent DIR_SOUNDS = Path(DIR_BASE, "sounds") class Sounds: ERROR1 = WaveObject.from_wave_file(str(DIR_SOUNDS.joinpath("error1.wav"))) # works ERROR2 = WaveObject.from_wave_file(DIR_SOUNDS.joinpath("error2.wav")) # doesn't work
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I would find it more convenient to not have to cast a path object to a string to get this to work.
Not sure if anyone else would agree?
The text was updated successfully, but these errors were encountered: