def touch(path):
    """Unix equivalent *touch*
    @src: http://stackoverflow.com/a/1158096"""
    import os
    try:
        OPEN_FUNC(path, 'a+').close()
    except IOError:
        os.utime(path, None)
def touch ( path ) : import os try : OPEN_FUNC ( path , 'a+' ) . close ( ) except IOError : os . utime ( path , None )
Unix equivalent *touch*
    @src: http://stackoverflow.com/a/1158096