#__file__ instead of sys.executable solves the problem def getHelpFileName(): filename=os.path.join(os.path.dirname(__file__), 'csc321index.html')
#__file__ instead of sys.executable solves the problem os.path. join(os. path.dirname( __file_ _), 'csc321index.html')
def getHelpFileName():
filename=