Convert file.ui > file.py run script but not go



  • hi guy
    i tryed to convert ui file in py and run but when i run tell me

    @/rollcalc.py: riga 12: try:: comando non trovato
    ./rollcalc.py: riga 13: _fromUtf8: comando non trovato
    ./rollcalc.py: riga 14: except: comando non trovato
    ./rollcalc.py: riga 15: errore di sintassi vicino al token non atteso "("
    ./rollcalc.py: riga 15: ` def _fromUtf8(s):'
    @

    some one can help me :)

    this is a line of errror

    @
    try:
    _fromUtf8 = QtCore.QString.fromUtf8
    except AttributeError:
    def _fromUtf8(s):
    return s
    @


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.