Hello all and thanks in advance for any help you can provide. I'm new to programming in Python and am looking to put todays date parameter passed into a URL string...how would I go about accomplishing this. This is some code I've sort of been messing around with:
day = datetime.date.today()
tday = strftime("Y%m%d)
url = 'http://samplewebsite/example/example&startdate=20100301&enddate=20100301&market_id=X'
So as you can see im very new to this but learning more and more everyday but I'd like to get that URL variable to pass in the tday variable that already should have the date formatted to a string that should fit into it. Any help in getting that date into the URL where it has the 20100301 dates that would be great.