Groups
Groups
Sign in
Groups
Groups
wxPython-users
Conversations
About
Send feedback
Help
I have error 3 try to open any file in my application!
4 views
Skip to first unread message
iozk_Live
unread,
May 26, 2012, 11:03:17 AM
5/26/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wxPython-users
I'm trying to open files the issue is that the path or root directory
is not found
here some of code
if self.dlg.ShowModal() == wx.ID_OK:
self.filename = self.dlg.GetFilename()
self.dirname = self.dlg.GetDirectory()
path = open(os.path.join(self.dirname, self.filename))
self.file = editor.EditorPanel(self.mainntbk, -1)
self.file.LoadFile(path.read())
self.mainntbk.AddPage(self.file, ""+self.filename)
self.dlg.Destroy()
Reply all
Reply to author
Forward
0 new messages