88
99def copy_file (file_path : str , target_path : str ) -> bool :
1010 """
11- :param file_path: which file we want to copy (str path)
11+ :param file_path: which file do we want to copy (str path)
1212 :param target_path: put copy file on target path
1313 :return: True if success else False
1414 """
@@ -27,8 +27,8 @@ def copy_file(file_path: str, target_path: str) -> bool:
2727
2828def copy_specify_extension_file (file_dir_path : str , target_extension : str , target_path : str ) -> bool :
2929 """
30- :param file_dir_path: which dir we want to search
31- :param target_extension: Which extension do we search
30+ :param file_dir_path: which dir do we want to search
31+ :param target_extension: what extension we will search
3232 :param target_path: copy file to target path
3333 :return: True if success else False
3434 """
@@ -78,7 +78,7 @@ def copy_all_file_to_dir(dir_path: str, target_dir_path: str) -> bool:
7878
7979def rename_file (origin_file_path , target_name : str , file_extension = None ) -> bool :
8080 """
81- :param origin_file_path: which dir we want to search file
81+ :param origin_file_path: which dir do we want to search file
8282 :param target_name: rename file to target name
8383 :param file_extension: Which extension do we search
8484 :return: True if success else False
@@ -113,7 +113,7 @@ def rename_file(origin_file_path, target_name: str, file_extension=None) -> bool
113113
114114def remove_file (file_path : str ) -> None :
115115 """
116- :param file_path: which file we want to remove
116+ :param file_path: which file do we want to remove
117117 :return: None
118118 """
119119 file_path = Path (file_path )
0 commit comments