Package API¶
Subpackages¶
Submodules¶
sbws.globals module¶
- sbws.globals.touch_file(fname, times=None)[source]¶
If fname exists, update its last access and modified times to now. If fname does not exist, create it. If times are specified, pass them to os.utime for use.
- Parameters
fname (str) – Name of file to update or create
times (tuple) – 2-tuple of floats for access time and modified time respectively