Add the parent directory to your sys.path...

On Fri, Jun 25, 2010 at 5:20 PM, Nathan Huesken <pyt...@lonely-star.org>wrote:

> Hi,
>
> Is it somehow possible to import modules from *.py files in a higher
> level directory?
> Intuitively I would do
>
> import ../module
>
> but that does not work.
> How does it work?
>
> Thanks!
> Nathan
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to