title: QtWidgets.QFileDialog.getOpenFileName returns a Tuple
body: <p>I've recently updated to the new version of Qt5 for Python. In doing so, I've been having to alter my code in accordance to some of the notable changes that have occurred. I wanted to get some insight into this line of code that I've created. It feels like a dirty way of solving the problem of getting a <code>string</code> instead of a <code>tuple</code> from the function. (Note the <code>[0]</code> at the end of the line)</p>
  
  <pre><code>filename = QtWidgets.QFileDialog.getOpenFileName(None, "Open " + key + " Data File", '.', "(*.csv)")[0]
  </code></pre>
  
  <p>I want <code>filename = {str}'C:/.././.../format.csv'</code></p>
  
  <p>not <code>filename = &lt;class 'tuple'&gt;: ('C:/.././.../format.csv', '(*.csv)')</code></p>