Tuesday 28 March 2017

How do you get the time and date in python?

I am trying to get the date and time on python for a program I am writing, But am unsure how to get them. I tried doing:



import dateline
import date



This usually works but now it just prints:



 


How can I fix this?

No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...