Next / Previous / Contents / Shipman's homepage

23.2. MonthCell.fileName(): Path to the month's page

This method returns the name of the monthly report file. The subdirectory is the name of the year, and the file's name is self.yyyy_mm plus the standard HTML extension.

noteweb
# - - -   M o n t h C e l l . f i l e N a m e

    def fileName ( self ):
        '''Return this month's page's relative path.
        '''
        return ( '%s/%s%s' %
                  (self.yearRow.yyyy, self.yyyy_mm, HTML_EXT) )