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)