mirror of
https://github.com/jlengrand/Ivolution.git
synced 2026-03-10 15:50:41 +00:00
8 lines
213 B
Python
8 lines
213 B
Python
import wx
|
|
|
|
|
|
app = wx.PySimpleApp()
|
|
dialog = wx.DirDialog(None, "Choose a directory:",style=wx.DD_DEFAULT_STYLE | wx.DD_NEW_DIR_BUTTON)
|
|
if dialog.ShowModal() == wx.ID_OK:
|
|
print dialog.GetPath()
|
|
dialog.Destroy() |