I have this bit of code which launches a PDF help file just fine on Windows, but doesn’t work on Macs. The files are there but for some reason they’re not launching on Mac…any ideas? Thanks
def OnHelp(self,event):
HelpFile = os.path.join(AltDocumentsFolder,‘VueToolsManual.pdf’)
if os.path.exists(HelpFile) == 0:
# PDF NOT THERE
tMsg = “VueToolsManual.pdf not found!\n” + tScriptPath
wx.MessageBox(tMsg,"Error",wx.OK|wx.ICON_INFORMATION,self)
else:
# PDF FOUND
os.startfile(HelpFile)