Search found 1 match
- Tue Jul 06, 2021 6:08 am
- Forum: Development of MicroPython
- Topic: NameError: name is not defined
- Replies: 2
- Views: 10623
Re: NameError: name is not defined
Python knows the purposes of certain names (ex. built-in functions ). Other names are defined within the program (ex. variables). If Python encounters a name that it doesn't recognize, you'll probably get NameError: global name 'xx' is not defined error. In most cases, this error is triggered when P...