Sumber dimuat naik... memuat...

Analogue retest python akhbar global name 'log' is not defined

Penulis:kms, Dicipta: 2018-04-23 01:15:04, Dikemas kini: 2018-04-23 10:17:55

Jika kita dah tahu sebabnya, log harus ditulis besar. Oh, Tuhan.

Kodnya mudah:

def utama ((): log ((exchange.GetRecords())

Traceback (most recent call last): File , line 1285, in Run File , line 7, in File , line 2, in main NameError: global name log is not defined


Lebih lanjut

Pencipta Kuantiti - Impian Kecil^^, perhatikan huruf besar.