Lines Matching refs:file_path
346 def _calculate_md5(file_path):
349 with open(file_path, 'rb') as f:
372 file_path = os.path.join(os.getcwd(), GP.local_path) + file_name # 构建完整的文件路径
374 file_path = os.path.join(os.getcwd(), local) + file_name
375 print(file_path)
376 actual_md5 = _calculate_md5(file_path)
679 file_path = os.path.join(GP.local_path, file)
680 rmdir(file_path)
800 def execute_lines_in_file(file_path):
801 if not os.path.exists(file_path):
804 with os.fdopen(os.open(file_path, flags, modes), 'w') as file:
806 with open(file_path, 'r') as file: