Type/to search
0
Follow
0
Followers
시뮬레이션 백테스팅 파이썬이 "글로벌 이름 'log'가 정의되지 않았습니다"라고 보고합니다.
FAQ
Created 2018-04-23 01:15:04  Updated 2018-04-23 10:17:55
 1
 2693

그 이유는 이미 밝혀졌는데, 로그의 L는 대문자로 쓰여져야 합니다.
————————————————

코드는 간단합니다.

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

"Traceback (most recent call last): File "로 표시됩니다.<string>", line 1285, in Run File "<string>", line 7, in <module> File "<string>", line 2, in main NameError: global name 'log' is not defined

Related Recommendations
Comment
All comments (1)

    ^^ , 注意大小写。

    8 years ago
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)