Python Forum
Name error : name 'honey' is not defined
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Name error : name 'honey' is not defined
#7
(Oct-31-2017, 08:21 AM)wavic Wrote: What have you tried? If your file is called honey.py you import it like this: import honey. Without the file extension. Also, you define 'hashes' without a value. It have to be hashes = []

i have tried
Quote: import honey
and it give me an import error : no module named honey

i also tried
Quote:import honeywordHasher.honey as honey
and it give me an attribute error : module named 'honeywordHasher.honey' has no attribute 'gen'
(honey.py is in honeywordHasher file) the traceback is still in the same line btw
Reply


Messages In This Thread
Name error : name 'honey' is not defined - by dila - Oct-25-2017, 11:18 AM
RE: Name error : name 'honey' is not defined - by dila - Oct-31-2017, 01:28 PM

Forum Jump:

User Panel Messages

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