def fileBrowser(self):
    browse = QtGui.QFileDialog.getOpenFileName(self, 'Select File')
    self.foldPath.setText(browse[0])
    self.foldName = os.path.dirname(browse[0])
    self.filePath = browse[0]
def fileBrowser(self):
    browse = QtGui.QFileDialog.getOpenFileName(self, 'Select File')
    self.foldPath.setText(browse[0])
    self.foldName = os.path.dirname(browse[0])
    self.filePath = browse[0]