#NEWLINE# def make_readable( fn ) : #NEWLINE# #INDENT# '\n    Make a file readable by all.\n    Practical when the plot is in your public_html.\n\n\n    Parameters\n    ----------\n    fn : str\n        Filename you wish to make public readable.\n    ' #NEWLINE# st = os . stat ( fn ) #NEWLINE# st_mode = st . st_mode #NEWLINE# read_all = stat . S_IRUSR #NEWLINE# read_all |= stat . S_IRGRP #NEWLINE# read_all |= stat . S_IROTH #NEWLINE# os . chmod ( st , ( st_mode | read_all ) )