Getting started
API Documentation
Development
Create an empty file.
If the file exists already it’s access and modification times are updated.
path (str | bytes) – path to file
str
bytes
*paths (Sequence[str | bytes]) – additional arguments to be joined with path by os.path.join()
Sequence
path
os.path.join()
expanded path to file
Examples
>>> path = audeer.touch("file.txt") >>> os.path.basename(path) 'file.txt'