Closed marvinmarnold closed 3 years ago
~Going to test on a device before converting from draft.~ Tested and working.
Why Was getting an error when trying to touch a file with pathlib, ModuleNotFoundError: No module named 'pathlib'. Because pathlib is not included in python3-minimal.
touch
ModuleNotFoundError: No module named 'pathlib'
How Use open().
open()
References Fixes: https://github.com/NebraLtd/hm-gwmfr/pull/18 New method: https://stackoverflow.com/questions/12654772/create-empty-file-using-python/12654798 Old method: https://stackoverflow.com/questions/1158076/implement-touch-using-python
~Going to test on a device before converting from draft.~ Tested and working.
Why Was getting an error when trying to
touch
a file with pathlib,ModuleNotFoundError: No module named 'pathlib'
. Because pathlib is not included in python3-minimal.How Use
open()
.References Fixes: https://github.com/NebraLtd/hm-gwmfr/pull/18 New method: https://stackoverflow.com/questions/12654772/create-empty-file-using-python/12654798 Old method: https://stackoverflow.com/questions/1158076/implement-touch-using-python