I'm trying to put current month and current year into HTML file
#!/usr/local/bin/python3
from datetime import datetime
current_month = datetime.now().strftime('%B')
currentYear = datetime.now().year
html_str="""
<br></br>
<caption><b>Project: </b></caption>Client Projects
<br></br>
<caption><b>Issue Type: </b></caption>Managed Services
<br></br>
<caption><b>Summary: </b></caption>OC SPLA usage report for current_month-currentYear
"""
Html_file= open("1.html","w")
Html_file.write(html_str)
Html_file.close()
But as output i'm getting
OC SPLA usage report for current_month-currentYear
Instead of
OC SPLA usage report for June-2018