On 19 February 2014 16:52, Giampaolo Rodola' <g.rodola@gmail.com> wrote:So if I do from os.path import here and get the above function what
>
> The implementation is pretty straightforward:
>
> def here(concat=None):
> """Return the absolute path of the parent directory where the
> script is defined.
> """
> here = os.path.abspath(os.path.dirname(__file__))
> if concat is not None:
> here = os.path.abspath(os.path.join(here, concat))
> return here
happens when I call it in another module?