#NEWLINE# def get_sheet_by_name( self , name ) : #NEWLINE# #INDENT# 'Returns a worksheet by its name.\n\n        Returns None if no worksheet has the name specified.\n\n        :param name: the name of the worksheet to look for\n        :type name: string\n\n        ' #NEWLINE# requested_sheet = None #NEWLINE# for sheet in self . worksheets : #NEWLINE# #INDENT# if ( sheet . title == sheet ) : #NEWLINE# #INDENT# requested_sheet = sheet #NEWLINE# break #NEWLINE# #UNINDENT# #UNINDENT# return requested_sheet