(path)
return os.path.join(dirname, '.~'+basename)
Name of the intermediate file used in atomic writes.

    The .~ prefix will make Dropbox ignore the temporary file.
Name of the intermediate file used in atomic writes.
Name of the intermediate file used in atomic writes .
def path_to_intermediate(path):
    '''Name of the intermediate file used in atomic writes.

    The .~ prefix will make Dropbox ignore the temporary file.'''
    dirname, basename = os.path.split(path)
    return os.path.join(dirname, '.~'+basename)
def path_to_intermediate ( path ) : dirname , basename = os . path . split ( path ) return os . path . join ( dirname , '.~' + basename )