Friday, August 10, 2018

IronPython error: UnboundNameException: name 'str' is not defined

I've got this line of code here:

empire.AINotes.Log = List[str](); 

And for some reason thestr type isn't being found! But isn't str a built-in Python type? I tried the .NET versions string and String but those didn't work either... What could be going on here?

IronPython error: UnboundNameException: name 'str' is not defined Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team