#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 18-10-25 下午5:40
# @Author  : Lone
# @Site    : 
# @File    : renamefiles.py
# @Software: PyCharm

# from testscript.get_files import GetFiles
# import os
#
# male_path = os.path.dirname(os.path.abspath(".")) + "/testdata/male/"
# female_path = os.path.dirname(os.path.abspath(".")) + "/testdata/female/"
#
# female_files = GetFiles("female").get_files()
# print(female_files)
# print(len(female_files))
# i = 0
# for file in female_files:
#     os.rename(female_path + file, female_path + str(i) + ".wav")
#     i += 1