title: Filter a list in Python
body: <p>I have a list in Python</p>
  <p>Username, Function, Project, Description, Date, Time, Year, Version</p>
  <pre><code>['erinil01', 'Oppstart', '', 'Startet programmet', '06/07/21', '12:48:54', '2021', '2']
  ['erinil01', 'Oppstart', '', 'Startet programmet', '06/07/21', '12:56:49', '2021', '2']
  ['erinil01', 'Prosjektadmin', '920208', 'Lastet prosjektet', '06/07/21', '12:59:09', '2021', '2']
  ['erinil01', 'Prosjektadmin', '920208', 'Lagret prosjektet', '06/07/21', '12:59:17', '2021', '2']
  ['erh4021', 'Oppstart', '', 'Startet programmet', '06/07/21', '13:02:38', '2021', '2']
  ['erinil01', 'Prosjektadmin', '921106', 'Lagt til nytt prosjekt', '06/07/21', '13:06:45', '2021', '2']
  ['erinil01', 'Prosjektadmin', '921107', 'Lagt til nytt prosjekt', '06/07/21', '13:07:02', '2021', '2']
  ['erinil01', 'Prosjektadmin', '921106', 'Lastet prosjektet', '06/07/21', '13:07:08', '2021', '2']
  </code></pre>
  <p>Lets say I only want to filter this list based on different criterias, such as usernames, functions, projects, date, year etc.. If some filters are empty, then show all based on the other criterias.</p>
  <p>Tips?</p>