from string import Template
import datetime

sample_str = "This is $going $great year"
# the_template = Template(sample_str)
# output_str = the_template.substitute(going='fox', great='jumped')
# print(output_str)

nyd = datetime.datetime(2021,1,8)
print(nyd)