Lines Matching refs:path
79 dochome = os.path.join(sys.base_prefix, 'Doc', 'index.html')
83 if os.path.isdir('/var/www/html/python/'): # "python2" rpm
87 dochome = os.path.join(basepath, pyver,
102 if os.path.isfile(docfile):
106 dochome = os.path.join(sys.base_prefix,
108 dochome = os.path.normpath(dochome)
109 if os.path.isfile(dochome):
131 self.recent_files_path = idleConf.userdir and os.path.join(
217 text.bind("<<open-path-browser>>", self.open_path_browser)
285 if os.path.exists(filename) and not os.path.isdir(filename):
748 Return module path or None for calls by open_module_browser
760 "to search on sys.path and open:",
806 if not filename or os.path.isdir(filename):
808 base, ext = os.path.splitext(os.path.basename(filename))
809 if os.path.normcase(ext) in py_extensions:
981 helpfile = os.path.normpath(helpfile)
997 if file_path and os.path.exists(file_path):
1002 new_file = os.path.abspath(new_file) + '\n'
1008 for path in rf_list:
1009 if '\0' in path or not os.path.exists(path[0:-1]):
1010 bad_paths.append(path)
1011 rf_list = [path for path in rf_list if path not in bad_paths]
1072 return os.path.basename(filename) if filename else "untitled"