Path awesomeness
Proteusiq opened this issue · comments
def _copy(self, target):
import shutil
assert self.is_file()
shutil.copy(self, target)
Path.copy = _copy
🧪 Data Science | ⚒️ MLOps | ⚙️ DataOps : Talks about 🦄
Proteusiq opened this issue · comments
def _copy(self, target):
import shutil
assert self.is_file()
shutil.copy(self, target)
Path.copy = _copy