copy_path
copy_path(path_src: Union[str, Path], path_dst: Union[str, Path]) -> None
-
說明:複製檔案/目錄。
-
參數
- path_src (
path_src: Union[str, Path]
):要複製的檔案/目錄。 - path_dst (
path_dst: Union[str, Path]
):複製後的檔案/目錄。
- path_src (
-
範例
import docsaidkit as D
path_src = '/path/to/your/source'
path_dst = '/path/to/your/destination'
D.copy_path(path_src, path_dst)