I'm new to both python and Wxpython so I was wondering if someone could help me with a problem I have.
I made a button that runs the UpdateNebula function. the function takes a string called path but I haven't been able to find a way to have the function accept the string.
Does anyone know how this is done? This is my code:
Update_Nebula = wx.Button(self.panel, 1305, "Update_Nebula") self.Bind(wx.EVT_BUTTON, self.UpdateNebula(), self.Update_Nebula)
and the function
def UpdateNebula(self,event,path): print path