title: QtWidgets.QFileDialog.getOpenFileName returns me a boolean.I'm trying to connect two functions in Python QT5 but I'm having some troubles
body: <p>I started coding a few weeks ago.</p>
  <p>I want to do a function to clean some data in Python and I want to send it to coworkers use.
  I used Qt5 to make an interface but I have some troubles to finish it.</p>
  <p>First of all I'm creating a function to open the file, creating a variable to recieve this dateframe (csv).</p>
  <p>After I have created another function, called &quot;cleaner&quot; to clean my data. But, before start coding the script to clean the data, I tried to print the dataframe just to see what happened. But when ask to print it, I got a boolean character, and no the dataframe I want. Like &quot;False&quot;.</p>
  <p><img src="https://i.stack.imgur.com/Dozzt.png" alt="Console shows me it" /></p>
  <pre><code>from interpy import *
  import resource
  from PyQt5 import QtCore, QtGui, QtWidgets
  import pandas as pd
  import numpy as np
  import csv
  from PyQt5.QtWidgets import QDialog, QPushButton, QLabel,QFileDialog,QVBoxLayout
  def main(ui):  
      def browseFile(self):
          filename = QtWidgets.QFileDialog.getOpenFileName(None, 'Open File', '*.csv')
      ui.pushButton_arquivo.clicked.connect(browseFile)
      def cleaner(filename):
          print(filename)
      ui.pushButton_Submit.clicked.connect(cleaner)```
  </code></pre>