Python Forum
NameError mlab not defined
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NameError mlab not defined
#6
In python, imports are normally expected at the top of the file.  Not all languages have that convention.
Unless you don't plan on ever showing your code to someone else, it's normally best to try to stick to conventions, to make it as easy as possible for someone else to understand quickly.
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 810 Dec-08-2023, 02:18 PM
Last Post: hobbyist
  NameError: name 'rand' is not defined Truman 7 6,856 Jun-17-2020, 07:14 PM
Last Post: Truman
  Python : NameError: name 'total_wait' is not defined carla 3 5,283 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