def get_box_office_films(self):
        """uses a certain cinema (O2) and a certain day when non specialist films show (Wednesday) to get a list of the latest box office films"""
        today = datetime.date.today()
        next_wednesday = (today + datetime.timedelta((2 - today.weekday()) % 7)).strftime('%Y%m%d')
        films = self.get_films(cinema=79, date = next_wednesday)
        
        films = filter(lambda x: '3D' not in x['title'], films)
        for film in films:
            if '2D -' in film['title']:
                film['title']=film['title'][5:]
        return films
def get_box_office_films ( self ) : today = datetime . date . today ( ) next_wednesday = ( today + datetime . timedelta ( ( 2 - today . weekday ( ) ) % 7 ) ) . strftime ( '%Y%m%d' ) films = self . get_films ( cinema = 79 , date = next_wednesday ) films = filter ( lambda x : '3D' not in x [ 'title' ] , films ) for film in films : if '2D -' in film [ 'title' ] : film [ 'title' ] = film [ 'title' ] [ 5 : ] return films
uses a certain cinema (O2) and a certain day when non specialist films show (Wednesday) to get a list of the latest box office films