# Is the Main module the only module where a relative path is not required?

**URL:** <https://discourse.julialang.org/t/is-the-main-module-the-only-module-where-a-relative-path-is-not-required/122713>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [November 16, 2024, 11:19am UTC](https://discourse.julialang.org/t/is-the-main-module-the-only-module-where-a-relative-path-is-not-required/122713 "2024-11-16T11:19:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![goerz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerz/32/3269_2.png) [@goerz](https://discourse.julialang.org/u/goerz)\
**Post date:** [November 17, 2024, 11:16am UTC](https://discourse.julialang.org/t/is-the-main-module-the-only-module-where-a-relative-path-is-not-required/122713/2 "2024-11-17T11:16:13Z")

</div>

I think the REPL has the concept of an “active module” (`Main` by default, but [this can be changed](https://discourse.julialang.org/t/change-current-working-module-from-repl/53166/7)). That’s probably what accounts for the difference in behavior.

---

_[View the full topic](https://discourse.julialang.org/t/is-the-main-module-the-only-module-where-a-relative-path-is-not-required/122713)._
