I’m new to Python coding and working through LPTHW and am struggling with Ex 48. Any help would be appreciated. I’ll try to describe my problems below:
I think I have set up my project directory correctly as per the previous exercises. It appears like this:
The setup.py file mirrors Zed’s, the lexicon_test.py mirrors the first 6 lines from Zed’s pre-written code in the exercise, and my lexicon.py file contains
I’m watching the video ( LPy3THW Ex48) and at 9:48 Zed types nosetests .\lexicon_tests.py but when I try this an error (ERROR: Failure: ImportError (No module named ’ ')) occurs.
I’m sure it something very obvious but I can’t work out what I’m doing wrong. Any ideas?