touchtouch

Creates a file (and folders if they don't exist) at the given path


Keywords
os, system, touch, files, folders, path, python
License
MIT
Install
pip install touchtouch==0.11

Documentation

Creates a file (and folders if they don't exist) at the given path

$pip install touchtouch
from touchtouch import touch
touch('f:\\dada\\baba\\caca\\myfile.html')

# original: https://github.com/andrewp-as-is/touch.py (not working anymore)