Re: basic code of what I am doing [was problems with opening files due to file's path]

2008-06-11 Thread Ethan Furman
Alexnb wrote: > Haha, okay well sorry that I was being so stupid, but I get it now and > I apoligize for causing you all the frustration. But I did get it to > work finally. > -- http://mail.python.org/mailman/listinfo/python-list

Re: basic code of what I am doing

2008-06-11 Thread Duncan Booth
Alexnb <[EMAIL PROTECTED]> wrote: > path = self.e.get() > path = "\"" + path + "\"" > os.startfile(path) Why are you adding spurious quote marks round the filename? os.startfile() will strip them off, but you don't need them. The help for os.startfile() does say though t

Re: basic code of what I am doing

2008-06-11 Thread Carsten Haese
Alexnb wrote: Okay, so I wrote some code of basically what I will be doing, only with exactly what I need for this part of the program but here you go: [...] Finally... path = "\"" + path + "\"" That line of code is unnecessary. Delete it. -- Carsten Haese http://informixdb.sourcef

basic code of what I am doing

2008-06-11 Thread Alexnb
Okay, so I wrote some code of basically what I will be doing, only with exactly what I need for this part of the program but here you go: [code] from Tkinter import* import os class myApp: def __init__(self, parent): self.parent = parent self.baseContainer = Frame(self.pare