• Home
  • Raw
  • Download

Lines Matching refs:path

33 current_path = os.path.dirname(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
34 BitCometjar = os.path.join(current_path, "Resource", "thirdtools", "TTorrentFull.jar")
62 version_path, destdir = os.path.split(download_dir)
64 exist_log = os.path.join(version_path, destdir + "_exist.log")
68 if os.path.isfile(exist_log):
85 download_torrent = os.path.join(version_path, destdir + ".torrent")
88 if os.path.isfile(download_torrent):
99 if os.path.isfile(Aria2cbin):
110 if len(ld) == 32 and os.path.isdir(os.path.join(version_path, ld)):
111 copyDirectory(os.path.join(version_path, ld), download_dir, os_method)
112 shutil.rmtree(os.path.join(version_path, ld), True)
133 if os.path.isfile(suc_mark):
157 if os.path.isfile(suc_mark):
160 elif os.path.isfile(failed_mark):
166 if not os.path.isdir(download_dir):
194 savepath = os.path.dirname(save_path_file)
195 if not os.path.isdir(savepath):
198 if os.path.isfile(save_path_file):
224 …jar_path = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(os.path.dirname(__file__))…
228 …res_path = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(os.path.dirname(__file__))…
230 local_res_path = os.path.join(dir_path, "res")
231 if not os.path.isdir(local_res_path):
248 jardir = os.path.join(dir_path, dir)
249 if os.path.isdir(jardir) and jardir != "res":
250 os.rename(jardir, os.path.join(dir_path, "jarimg"))
264 def downloadLinkFileFromHttp(link, path): argument
278 destination_file = os.path.join(path, file_name)
281 if not os.path.isdir(path):
282 os.makedirs(path)
283 if not os.path.isfile(destination_file):
286 if not os.path.isfile(destination_file):
351 file_name = os.path.join(source_path, f)
352 child_path = os.path.join(download_dir, f)
353 if os.path.isfile(file_name):
355 if not os.path.isfile(child_path):
360 if not os.path.isdir(child_path):
393 host, share, path, file = '', '', '', ''
405 path = os.path.join(path, i)
412 + "' -c 'cd \"%s\"'" % path)
422 …cmd = cmd + "' -m SMB2 -c 'cd \"%s\";prompt OFF;recurse ON;lcd %s;mget %s'" % (path, download_dir,…
424 … cmd = cmd + "' -c 'cd \"%s\";prompt OFF;recurse ON;lcd %s;mget %s'" % (path, download_dir, file)
533 if not os.path.isfile(destination_file):
552 def run_download(link, path): argument
573 destination_file = os.path.join(path, file_name)
576 if not os.path.isdir(path):
577 os.makedirs(path)
578 if os.path.isfile(destination_file):
600 if os.path.isfile(destination_file):