Type/to search
0
Follow
0
Followers
Simulations-Backtesting-Python meldet „Globaler Name ‚log‘ ist nicht definiert“
FAQ
Created 2018-04-23 01:15:04  Updated 2018-04-23 10:17:55
 1
 2693

Das L für "Log" sollte groß geschrieben werden.
————————————————

Der Code ist einfach:

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

"Traceback (most recent call last): File" wird angezeigt.<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)