mirror of
https://github.com/imarkoff/Marble-shell-theme.git
synced 2025-09-17 08:47:55 -07:00
16 lines
385 B
Python
16 lines
385 B
Python
import os
|
|
import shutil
|
|
|
|
|
|
def copy_files(source, destination):
|
|
"""
|
|
Copy files from the source to another directory
|
|
:param source: where files will be copied
|
|
:param destination: where files will be pasted
|
|
"""
|
|
|
|
destination = os.path.expanduser(destination)
|
|
os.makedirs(destination, exist_ok=True)
|
|
|
|
shutil.copytree(source, destination, dirs_exist_ok=True)
|