News for hackers. Stuff that matters.
Re:The Elements of Python Style by vadskye on Monday January 04, 2016 @08:54PM (#10840412)
Minor nitpick: I think you mean

   now = datetime.datetime.utcnow # no parentheses
More generally, I think the strongest argument for using "from" is when you're dealing with redundant "foo.foo.bar" names. Would you really be confused at seeing "datetime.utcnow()" instead of "datetime.datetime.utcnow()"?

There are no comments on this comment yet.