現在のディレクトリを取得
import os
cwd = os.getcwd()
print(cwd)
import os
cwd = os.getcwd()
print(cwd)
import os
cwd = os.getcwd()
print(cwd)
cwd = os.getcwd('sample')
print(cwd)
import os
os.makedirs('./sample')
python 標準の shutil モジュールを使用します。
import shutil
shutil.copytree(コピー元フォルダのパス,コピー先フォルダのパス)