Ver originalcont_ccrypt= QtGui.QInputDialog.getText(self, 'password ccrypt', 'password:')pas = cont_ccrypt[0]print pas, type(pas)print str(pas), type(str(pas))