Closed flozi00 closed 4 years ago
Hey Florian, there's some other interesting methods available in os
that might be useful here.
Maybe checkout: https://docs.python.org/3.5/library/os.path.html#os.path.isdir https://docs.python.org/3.5/library/os.html?highlight=makedirs#os.makedirs
Hey Kris, ~/ is not working with this functions. Shell command creates directory if not already existing. The validation is built in by linux
You can use the expanduser function (already used in this file) to get the full path
better this time ?
Is there a reason you're not using os.path.dirname
to get the dirname from the original path?
I just didn't thought about
fix https://github.com/MycroftAI/mycroft-skills-manager/issues/62#issue-547414079