cari

Rumah  >  Soal Jawab  >  teks badan

python - invalid literal for int() with base 10: '\x03\xda\x01' 神奇的报错!

            try:
                    line = mc_tc_get.get("test_pic")
                    #print "4:line", line
                    if line is None:
                            print "None1"
                            return path, None
                    line = line.rstrip("\n")
                    if line == "":
                            print "None2"
                            return path, None
                    tmp = line.split()
                    if(len(tmp)<7):
                            print "None3"
                            return path, None
            except Exception as  e:
                    print e
                    
                    
                    
                    
print e 报的这个错:invalid literal for int() with base 10: '\x03\xda\x01'
PHP中文网PHP中文网2827 hari yang lalu456

membalas semua(1)saya akan balas

  • 大家讲道理

    大家讲道理2017-04-18 09:53:19

    Adalah disyorkan untuk melepaskan percubaan kecuali dahulu dan lihat di mana ralat dilaporkan.

    balas
    0
  • Batalbalas