import datetime
import os
import shutil
yesterday=datetime.date.today()-datetime.timedelta(days=1)
date=yesterday.strftime('%Y%m%d')
os.mkdir(date)
shutil.copy('template.py', date)
More than 1 year has passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
00