View Single Post
  #2 (permalink)  
Old August 7th, 2015, 04:03 PM
Alan G Alan G is offline
Wrox Author
Points: 119, Level: 2
Points: 119, Level: 2 Points: 119, Level: 2 Points: 119, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2015
Location: Stirling, Scotland
Posts: 25
Thanks: 0
Thanked 3 Times in 3 Posts
Default

I've no idea how that has happened because the zip file that I submitted
clearly has the dual import as per the book.

So my apologies for that, but my code which I tested has a

from datetime import datetime

line.

And certainly to make the code work you need that style of import.
Reply With Quote