Skip to content

Instantly share code, notes, and snippets.

@Tahsin-Mayeesha
Created January 27, 2018 04:04
Show Gist options
  • Save Tahsin-Mayeesha/20e135f9b7615e90e1369e7d4eec5402 to your computer and use it in GitHub Desktop.
Save Tahsin-Mayeesha/20e135f9b7615e90e1369e7d4eec5402 to your computer and use it in GitHub Desktop.
import pandas as pd
datelist = pd.date_range(pd.datetime.today(), periods =365).date.tolist()
f = open("2018_planner.txt","w")
for date in datelist:
f.write("# " + str(date) + '\n')
f.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment