Lines Matching full:path
166 """ Returns relative file path """
167 if not os.path.exists(target):
170 if not os.path.isdir(base):
173 base_list = (os.path.abspath(base)).split(os.sep)
174 target_list = (os.path.abspath(target)).split(os.sep)
182 return os.path.join(*rel_list)
198 return os.path.splitext(fileName)[0]
203 """ Gets just the filename, without the path """
205 return os.path.split(fileName)[1]
210 """ Gets just the path, without the file name """
212 return os.path.split(fileName)[0]
219 ext = os.path.splitext(fileName)[1]
227 filetime = time.ctime(os.path.getmtime(fileName))
235 return os.path.exists(fileName)
520 path
753 if not os.path.isdir(dirname):