Skip to content

Commit 03db9d7

Browse files
authored
Update dates.py
1 parent cf89aa8 commit 03db9d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

students/xlrd/dates.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
book = open_workbook('types.xls')
55
sheet = book.sheet_by_index(0)
6+
import math
67

78
date_value = xldate_as_tuple(sheet.cell(3,2).value,book.datemode)
89
print datetime(*date_value),date(*date_value[:3])

0 commit comments

Comments
 (0)