On 2019-07-22, Michael F. Stemper <[email protected]> wrote: >>> from datetime import datetime >>> from time import strftime >>> timestamp = datetime.now().strftime( "%Y-%m-%d %H:%M" ) [...] > Apparently, the strftime() in that last line is not the one that I > explicitly imported, but a method of datetime.now(). Did I get that > right?
Exactly.
--
Grant Edwards grant.b.edwards Yow! TONY RANDALL! Is YOUR
at life a PATIO of FUN??
gmail.com
--
https://mail.python.org/mailman/listinfo/python-list
