Advertisement
zfoxatis

python32.timeline

Oct 31st, 2011
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. #!/usr/local/bin/python 3.2
  2. # -*- coding: utf-8 -*-
  3.  
  4. import datetime
  5.  
  6. print([(datetime.date(2011,11,29)+datetime.timedelta(nap)).isoformat()
  7.        for nap in range(1,(datetime.date(2012,12,31)-datetime.date(2011,11,29)).days,)
  8.        if nap%4==0])
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement