Sunday, June 8, 2014

Day 64

Explored Python at CodeCademy. Worked on Python tutorial 2 of 6, Date and Time, Getting the Current Date and Time. Learned to use a function called to retrieve the current date and time.

The code used:
from datetime import datetime
now =
print now

The interaction looked like this:
2014-06-08 20:32:22.541607

No comments:

Post a Comment