For cross-platform, `tkinter` is your safest bet. But if you want something prettier, `wxPython` has a solid file dialog too.
```python
import wx
app = wx.App(False)
dialog = wx.FileDialog(None, "Select a file")
if dialog.ShowModal() == wx.ID_OK:
print(dialog.GetPath())
```
A bit more code, but looks native on Mac/Win.
```python
import wx
app = wx.App(False)
dialog = wx.FileDialog(None, "Select a file")
if dialog.ShowModal() == wx.ID_OK:
print(dialog.GetPath())
```
A bit more code, but looks native on Mac/Win.
