Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
10 lines
270 B
Python
10 lines
270 B
Python
# Copyright (C) 2024 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
import os
|
|
|
|
path = os.path.join(os.path.dirname(__file__), "./data/80000_docs")
|
|
for file in os.listdir(path):
|
|
src_file = os.path.join(path, file)
|
|
os.rename(src_file, src_file + ".txt")
|