Python Forum
NameError mlab not defined
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NameError mlab not defined
#3
In addition, I see you open a file, but I don't see where you close it.

Why bury an import in a function rather than have it at the top with your other imports?
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply


Messages In This Thread
NameError mlab not defined - by PythonAndArduino - Nov-08-2017, 04:04 AM
RE: NameError mlab not defined - by buran - Nov-08-2017, 10:16 AM
RE: NameError mlab not defined - by sparkz_alot - Nov-08-2017, 01:07 PM
RE: NameError mlab not defined - by buran - Nov-08-2017, 06:29 PM
RE: NameError mlab not defined - by nilamo - Nov-08-2017, 06:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  NameError: name 'predicted_labels' is not defined hobbyist 2 873 Dec-08-2023, 02:18 PM
Last Post: hobbyist
  NameError: name 'rand' is not defined Truman 7 6,912 Jun-17-2020, 07:14 PM
Last Post: Truman
  Python : NameError: name 'total_wait' is not defined carla 3 5,318 Jun-04-2017, 05:49 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020