# Path of this package?

**URL:** <https://discourse.julialang.org/t/path-of-this-package/16401>\
**Category:** General Usage\
**Tags:** question\
**Created:** [October 16, 2018, 1:33pm UTC](https://discourse.julialang.org/t/path-of-this-package/16401 "2018-10-16T13:33:07Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ExpandingMan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/expandingman/32/866_2.png) [@ExpandingMan](https://discourse.julialang.org/u/ExpandingMan)\
**Post date:** [October 16, 2018, 2:12pm UTC](https://discourse.julialang.org/t/path-of-this-package/16401/4 "2018-10-16T14:12:31Z")

</div>

Oh no, sorry I didn’t realize you meant within the package. For that you can do

```julia
pathof(@ __MODULE__ )

```

Or, more likely you’ll want to use `@ __DIR__ ` which gives the directory of the current file.

---

_[View the full topic](https://discourse.julialang.org/t/path-of-this-package/16401)._
