def _make_writable(fname):
 os.chmod(fname, (stat.S_IMODE(os.lstat(fname)[stat.ST_MODE]) | 128))

def _make_writable ( fname ) : os . chmod ( fname , ( stat . S_IMODE ( os . lstat ( fname ) [ stat . ST_MODE ] ) | 128 ) )
make a file writable .