[Tutor] Relative import help

Steven D'Aprano steve at pearwood.info
Sat Sep 22 14:15:22 CEST 2012


On 22/09/12 20:56, Matthew Ngaha wrote:
> i have an assignment from a book to practice implementing  relative
> imports. it gave a very clear and easy to follow explanation, but my
> results are proving the instructions are wrong.

Not impossible, but I doubt that.

Have you followed the instructions *exactly*? If not, you have
probably missed something. What book is it?

Otherwise, the book and you are probably using different versions of
Python. What version of Python are you using, and what is the book
using?



-- 
Steven


More information about the Tutor mailing list