> On 27 Apr 2016, at 2:09 PM, Jaqen Nki <[email protected]> wrote:
> 
> OH MY FKING GOD it worked...  how the hell...  literally one period had me 
> hung up for over a week.  Unbelievable...  Thanks man didnt know about a 
> relative import.  Youre the man!

Python 2.7 still supports absolute import for a module within a package from 
other code in the same package.

In Python 3.?+, absolute imports within a package has to be enabled and should 
use relative import when import modules from same package. If you don’t use a 
relative import, you would need to have given full package module path, which 
is a bad idea.

Graham

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to