def make_readable(fn):
 st = os.stat(fn)
 st_mode = st.st_mode
 read_all = stat.S_IRUSR
 read_all |= stat.S_IRGRP
 read_all |= stat.S_IROTH
 os.chmod(fn, (st_mode | read_all))

def make_readable ( fn ) : st = os . stat ( fn ) st_mode = st . st_mode read_all = stat . S_IRUSR read_all |= stat . S_IRGRP read_all |= stat . S_IROTH os . chmod ( fn , ( st_mode | read_all ) )
make a file readable by all .