[Tutor] Relative import help

Matthew Ngaha chigga101 at gmail.com
Sat Sep 22 17:13:34 CEST 2012

> You probably have a path that reaches into Domestic or Europe sub-package.
> That can happen if e. g. Project/Domestic/Europe is your current working
> directory.
> Try to cd into the Project folder's parent directory and see if
> $ python -c 'import Project.Domestic.Europe.winners'
> works.

ive got into the parent directory and typed this code both in cmd, and
 my python file. niether seems to work. on idle i get invalid syntax
 error. im on windows

More information about the Tutor mailing list