Unresolved import. Problem with PYTHON_PATH
Brought to you by:
fabioz
#example.py
i_am_a_var = 123
class example(object):
def __init__(self):
....
def my_func(self):
....
#another_example.py
from example import my_func #[Unresolved import]
but
from example.example import my_func #OK
Because pydev treat example.py at a class named example and a variable i_am_a_var.