You have mixed something up with your variables, you can subtract timedelta d
from datetime.datetime.now()
with no issue:
import datetime
tod = datetime.datetime.now()
d = datetime.timedelta(days = 50)
a = tod - d
print(a)
2014-12-13 22:45:01.743172