# \`file.choose()\` in \`Julia\`?

**URL:** <https://discourse.julialang.org/t/file-choose-in-julia/69703>\
**Category:** New to Julia\
**Tags:** filesystem, io, gui\
**Created:** [October 13, 2021, 5:15pm UTC](https://discourse.julialang.org/t/file-choose-in-julia/69703 "2021-10-13T17:15:07Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [October 13, 2021, 5:53pm UTC](https://discourse.julialang.org/t/file-choose-in-julia/69703/6 "2021-10-13T17:53:55Z")

</div>

As noted in [another thread on the same topic](https://discourse.julialang.org/t/choose-a-file-interactively/10910/3), `Gtk.open_dialog("...some prompt...")` works, at the cost of pulling in a Gtk dependency.

Another possibility, as discussed in [Pluto.jl#350](https://github.com/fonsp/Pluto.jl/issues/350), would be to wrap this library (or similar) in a JLL (binary package) and then write a Julia wrapper: [https://github.com/mlabbe/nativefiledialog](https://github.com/mlabbe/nativefiledialog) … or perhaps even to re-implement/port it to native Julia with `ccall`.

---

_[View the full topic](https://discourse.julialang.org/t/file-choose-in-julia/69703)._
