Created
November 21, 2016 00:57
-
-
Save jeremyyeo/39df0e9dd71f630732df65b6341b55ef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import datetime, timedelta | |
first_half = datetime(2016, 11, 18) | |
second_half = first_half + timedelta(days=1) | |
print("http://www.facebook.com/download?file={}".format(first_half.strftime("%d-%m-%Y"))) | |
print("E:/Work/file_{}-{}.csv".format(first_half.strftime("%d_%B_%Y"), second_half.strftime("%d_%B_%Y"))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment