1 2 3 4 5
import time def get_filename(file_type): return time.strftime(f'%Y-%m-%d (%H-%M-%S).{file_type}')