So, I am having the following structure in my python package:

```
./main.py
__init__.py
./mymods/
    __init__.py
    a.py
    b.py

```

my module a.py imports module b:

```
import b

```

Now, I want to import module a from main but when I do I get the following:

```
import mymods.a

ImportError: No module named 'b'

```

I googled but I couldn't find a solution to this particular problem.
Any good samaritan who knows how to do this?

p.s. I would prefer not to have to import the module b explicitly from main, if that is possible.