Christer Enfors wrote:
> I have two files, in the same directory: main.py, and user.py I have the
> following code in main.py:
>
>main.py
>import user
>
>[snip]
>
>user_man = user.UserMan()
>-end-
>
> This works without problems.
>
> But then I tried moving user
Christer Enfors wrote:
> I have two files, in the same directory: main.py, and user.py
>
> This works without problems.
>
> But then I tried moving user.py to a subdirectory, and adding that
> directory to Python's module search path
> But now I get an error message for the last line shown abov
I have two files, in the same directory: main.py, and user.py I have the
following code in main.py:
main.py
import user
[snip]
user_man = user.UserMan()
-end-
This works without problems.
But then I tried moving user.py to a subdirectory, and adding that
direct