Lines Matching full:path
30 self.path.set(filePath)
46 self.path = StringVar(self)
56 text='Help File Path: Enter URL or browse for file')
57 self.entryPath = Entry(self.frameMain, textvariable=self.path,
83 path = self.path.get()
84 if path:
85 dir, base = os.path.split(path)
89 dir = os.path.join(os.path.dirname(sys.executable), 'Doc')
90 if not os.path.isdir(dir):
97 self.path.set(file)
120 "Simple validity check for menu file path"
122 path = self.path.get()
123 path.strip()
124 if not path: #no path specified
125 tkMessageBox.showerror(title='File Path Error',
126 message='No help file path specified.',
130 elif path.startswith(('www.', 'http')):
133 if path[:5] == 'file:':
134 path = path[5:]
135 if not os.path.exists(path):
136 tkMessageBox.showerror(title='File Path Error',
137 message='Help file path does not exist.',
146 self.path.get().strip())
148 path = self.result[1]
149 if path.startswith(('www', 'file:', 'http:')):
154 self.result[1] = "file://" + path