def get_password(parent, title):
    ped = wx.PasswordEntryDialog(parent, title)
    ped.ShowModal()
    pw = ped.GetValue()
    ped.Destroy()
    return pw
These four lines appeared several times in places where having a single
dataset/ETHPy150Open shish/eve-mlp/eve_mlp/gui/common.py/get_password