I'm not sure why this is happening, but I can read/write to files but I cannot open them using os.startfile. The following code will add the text in setup.txt to the text control correctly.
Of course it also adds the new line, but that's besides the point. The next piece of code used to open the setup.txt file, however it no longer does, it says that the file does not exist.Code:for item in file('setup.txt'): self.AddText(item)
The os module has been imported (import os).Code:os.startfile('setup.txt')
Is there any reason for this?