The first question is: “Do I have to import
ex25.py , or can I just remove the references to it? You can do either. This file has the functions from
ex25 though, so first go with removing references to it.”
the file we download is here: https://learnpythonthehardway.org/python3/exercise26.txt
Problem: I don’t find any references in the file to ex25.py. Has the exercise file been modified since the book was published?
Remember the imports won’t say “ex25.py”, they will say ex25. Also, it may not have the word “ex25” but it has the functions from ex25 in there.
I have the same problem. I DO NOT FIND EITHER FUNCTIONS OR REFERENCES FROM EX25 IN THE FILE.
Has the file been modified or is ti something else? Please help.
The try removing them, but you probably are done with this exercise. Try making it work by removing them and then if it runs you’re good. Move on.
Zed, I believe there are some inconsistencies.
In the book you’re mentioning about references to ex25.py (or functions from this file), but in the current file (https://learnpythonthehardway.org/python3/exercise26.txt) those functions aren’t even mentioned. Instead, there are if statements about dogs, cats and people.
I did some research and I found “old” file excercise26.txt on some github with references to those functions from ex25. You had probably changed excercise26, but you forgot to change “Common student questions” in the book. Am I right?
Ok thanks, I’ll try to remove that reference but you should just then ignore that.